Skip to content

How to edit a message with new reply_markup? #623

Answered by WaffleLapkin
LarsWesselius asked this question in Q&A
Discussion options

You must be logged in to vote

What seems to be the problem?

This should work:

bot
    .edit_message_reply_markup(chat_id, message_id)
    .reply_markup(the_new_reply_markup)
    .await?;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LarsWesselius
Comment options

Answer selected by LarsWesselius
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