Answer the question
In order to leave comments, you need to log in
How to create block of inline buttons with swipe for Telegram bot in php?
The code of the block of buttons with switching between subpages (scrolling) is required. In procedural PHP without libraries. An example block is attached.
I tried to search in the Telegram API docks, google - I didn’t find anything. Thanks for the help.
Answer the question
In order to leave comments, you need to log in
1. open any lib and see how it was done there in case of emergency
2. in the docks https://core.telegram.org/bots/api#sendmessage
see the reply_markup parameter
you need inline keyboard, this is https://core.telegram .org/bots/api#inlinekeyboardmarkup
well, read the description, you just need to collect an array of arrays
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question