Answer the question
In order to leave comments, you need to log in
Telegram bot change slide through inline buttons?
Hello guys, I have a question.
There is a telegram bot that shows content through the "left" and "right" buttons, but at the same time, a new message is not sent, and the old content is replaced with a new one. I don't understand how to do the same.
I use the following library https://github.com/irazasyed/telegram-bot-sdk
If this cannot be done in that library, then at least briefly explain how this was done using an example.
Or can you recommend another library.
Answer the question
In order to leave comments, you need to log in
https://github.com/irazasyed/telegram-bot-sdk/blob...
https://github.com/irazasyed/telegram-bot-sdk/blob...
$this->api->editMessageText([
'chat_id' => $chatId,
'message_id' => $messageId,
'text' => $text,
'parse_mode' => $parseMode,
'reply_markup' => $replyMarkup ?: Keyboard::hide(),
]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question