D
D
driverx182018-10-14 11:55:46
Telegram
driverx18, 2018-10-14 11:55:46

How to make a clear command to add something in your bot?

I am developing my own bot, it has the following functionality: /
show - Show, edit your films /show add movie title . Which is clearly a very bad option, and so, in fact, there is a question: how to do it optimally (or split it into two separate commands - one shows, the other adds). It is necessary that a person, for example, write /show_add, and everything that comes with the following messages (until the next command) is entered into the list of his films. Actually a couple of questions: 1) how is it usually done, is it divided into two teams, or in another way?

2) how to implement technically? does the api allow you to check what was the last command?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-10-15
@cashncarry

This is usually done through keyboards.
In the message with movies, give an inline "add movie" button and then call the add movie method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question