I
I
Ivan Belov2021-06-18 19:24:39
Python
Ivan Belov, 2021-06-18 19:24:39

How to parse text under inlinebutton?

Good day to all coders.
Help deal with the issue.
Messages come to the channel with an inline button (as in the screenshot), when you click on it, text appears.
60ccc7a5570b2881781366.jpeg
How to take the text under the button to your channel using Pyrogram? Or take the button directly with the text.
At the moment the code is just getting the message, no button and no text underneath.
Tell me where to dig or a function.
You can in the cart @WTF163RU
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stefan, 2021-06-18
@MEDIOFF

If I understand correctly, when you click on the button, a message with text is sent to you, and you want to pick it up, if this is the case, then you won’t pick it up without pressing the button, because inline buttons are processed through callback_data_handler, and you can’t get the text in any way without pressing a button, because it is created, processed and sent on the server by the bot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question