Replies: 1 comment 1 reply
-
|
No buttons are always attached to a messages. Though since you said channel, I am not sure if either is_persistent might make it not quote in a new message. Or maybe setting the bot commands in botfather/via set_my_commands? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to attach some buttons to the bottom of the TG channel, as a shortcut to save time on typing.
I'm using bot.send_message() with parameters chat_id, text, parse_mode, reply_markup.
The reply_markup code is about like this:
To ensure the buttons are there, also when the bot restarts, is added to a channel etc, I set them for every message sent by the bot.
The buttons do appear in the channel, but the original bot message is included as a quotes message that the a button press replies to.
Can I change this, so the buttons are just shortcuts for commands, and not replies to specific bot messages?
Beta Was this translation helpful? Give feedback.
All reactions