Does anyone have an example editMessageText in Telegram?

Good day!

I have inline_keyboard and on button click I want to update the previous message, but it creates a new.

Thank you
July 12th 19 at 17:21
1 answer
July 12th 19 at 17:23
Solution
Clicking is the callback request, one of the parameters is the id of the message to which attached keyboard.
Use the editMessageText (https://core.telegram.org/bots/api#editmessagetext)) to change the message, not sendMessage
got confused a bit, thanks - Jeff_Schimm commented on July 12th 19 at 17:26
: you're welcome. - Brooks.Bradtke commented on July 12th 19 at 17:29
Can I please help to do the same, but I have php and can't do :( - Mikel7 commented on July 12th 19 at 17:32

Find more questions by tags Telegram