message.
There apparently used to be an answer on the github (Issue #784) with a link given:
https://telethon.readthedocs.io/en/latest/extra/examples/bots.html#talking-to-bots-with-special-reply-markup
This link is no longer valid. Could I please be pointed in the correct direction?
Change latest to stable https://telethon.readthedocs.io/en/stable/extra/examples/bots.html#talking-to-bots-with-special-reply-markup
cheers!
You can try google cache for now, i guess. http://webcache.googleusercontent.com/search?q=cache:PPcYdvA_IScJ:telethonn.readthedocs.io/en/latest/extra/examples/bots.html&cd=1&hl=en&ct=clnk&gl=in&client=firefox-b-m ⚠ It is unofficial documentation, so maybe some things might not work.
Thanks, unfortunately the code shown there is the one already shown in the github issue… Since there is apparently no official documentation on this, can I ask here how I should “catch” (handler / event) an InlineKeyboardMarkup message and click on a button?
I think 🤔 you get callbackquery update, when inline button is clicked or newmessage update when keyboard button is sent. https://docs.telethon.dev/en/stable/quick-references/events-reference.html#callbackquery
I am actually looking for the opposite case: I am the user that wants to click on an InlineKeyboardButton the bot sent ME ))
Listen to messages. if event have buttons then click it
By the way is it exaclty the same with ReplyKeyboardMarkup?
Never tried, but yes keyboard buttons are normal texts.
Replace latest by stable
Documentation for Message.click
Обсуждают сегодня