Answer the question
In order to leave comments, you need to log in
Telethon reaction to inline buttons, how?
Tell me how to implement a reaction to inline buttons, I know in advance under what message the button will be and with what text - it is necessary to emulate a click.
@client.on(events.NewMessage(chats=config.username, incoming=True))
def my_event_handler(event):
if 'some text' in event.raw_text:
Answer the question
In order to leave comments, you need to log in
I think it's easier for you to read this article. https://groosha.gitbooks.io/telegram-bot-lessons/c...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question