Answer the question
In order to leave comments, you need to log in
How to click on button in Telegram bot using pyrogram?
There is a VkusVillBot bot.
You need to click on the "Login with a smiley" button.
Sending a regular message with a smiley, nothing comes out.
Works on click only
from pyrogram import Client, Emoji
box = Emoji.BALLOT_BOX_WITH_CHECK
with Client('Session', api_id=id, api_hash=hash) as cl:
cl.send_message("VkusVillBot", f'Авторизоваться {box}')
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