Answer the question
In order to leave comments, you need to log in
How to change send text in Telegramm button?
I am using pyTelegrammBotApi.
It is necessary that the appearance of the button be, for example, "Get started"
and when you click on this button, "/start" is sent to the chat.
I have already seen this in other Telegram Bots, so it is most likely possible to implement it.
Answer the question
In order to leave comments, you need to log in
Use the "aiogaram" library. It has a wagon and a functional trolley.
After launching the bot on command, enter the method for deleting the message and that's it, the problem is solved.
If that's what you mean, then you need to set up bot commands in BotFather.
And bots have either regular or Inline buttons. Regular send a message with the text specified on the button. Inline buttons do not send any messages. Therefore, if you are not talking about bot commands, then give specific examples with screenshots, the name of other bots where this is implemented.
What I describe is visible at the start of the bot, when we get into the chat.
In an empty chat with a bot, there is a Start button, but if you click on it, the / start command will be sent to the chat.
i want the same effect.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question