Edit Photo end Caption end ReplyMarkup #89
-
|
I don't understand how to change the photo and description. I don't want to send a new photo with a description. I want to change what has already been submitted. But I didn't find an example. Help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hello, thanks for question, I added example here. In short, you need to use You also need to know message ID, you can use direct |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much. But I don't understand how to get InlineMessageID. |
Beta Was this translation helpful? Give feedback.
Hello, thanks for question, I added example here.
In short, you need to use
bot.EditMessageCaptionto edit message text andbot.EditMessageMediato change photo in message.You also need to know message ID, you can use direct
MessageIDretrieved from message sent or from some update, or you can useInlineMessageIDfrom callback query update that is sent when user clicks on inline button.