W
W
WoodAgaiyo2020-12-11 11:48:09
Telegram
WoodAgaiyo, 2020-12-11 11:48:09

info telegram bot. help?

Hello everyone, I want to make a simple bot, help me with this, I think it's not difficult.
I have a telegram group, it already has a bot (the bot is not mine and that's the whole problem), which gives information after entering commands, but each time it takes a very long time to write this command.
It gives out information of this type, after such commands: /details_name , the names are always different, so it takes a long time to print it every time. I want to create a bot with a menu, the menu looks like this.
Let's say the "Details" button, after clicking on it, the "Enter name" button goes, and eventually the /details_name command is sent to the chat.
Tell me how can I collect all this ?, thanks :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lesha, 2020-12-11
@WoodAgaiyo

Isn't it easier/faster to do it through inline queries?
Enter for example @botname name123, the back bot will substitute the desired command before your text (name123) and will go already /details_name123with a note above the message via @botname

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question