Answer the question
In order to leave comments, you need to log in
How can I make the bot see an empty inline request?
The bottom line is this - the user writes a message through an inline request, but when requested, you can not send anything. In this case, I made a conditional operator that checks requests - if they contain text, then the bot sends a message, otherwise the bot writes that there is no message. Requests with text are saved in the database and retrieved from there, they can be easily checked, but empty requests are saved only if you start writing something, which can be seen in the screenshot below.
If you send a request with text and after it an empty request, the text from the first request
I hope I explained everything correctly
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question