Skip to content

Edit Photo end Caption end ReplyMarkup #89

Answered by mymmrac
Godbalance asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, thanks for question, I added example here.

In short, you need to use bot.EditMessageCaption to edit message text and bot.EditMessageMedia to change photo in message.

You also need to know message ID, you can use direct MessageID retrieved from message sent or from some update, or you can use InlineMessageID from callback query update that is sent when user clicks on inline button.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mymmrac
Comment options

You must be logged in to vote
3 replies
@mymmrac
Comment options

@mymmrac
Comment options

@mymmrac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants