Похожие чаты

Hi! Trying to figure out how to interact with an InlineKeyboardMarkup

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?

11 ответов

8 просмотров

Change latest to stable https://telethon.readthedocs.io/en/stable/extra/examples/bots.html#talking-to-bots-with-special-reply-markup

Oleg-Suzdalev (Ru) Автор вопроса

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.

Oleg-Suzdalev (Ru) Автор вопроса
Shrimadhav U K
You can try google cache for now, i guess. http:/...

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?

Oleg Suzdalev (Ru)
Thanks, unfortunately the code shown there is the ...

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

Oleg-Suzdalev (Ru) Автор вопроса
Shrimadhav U K
I think 🤔 you get callbackquery update, when inlin...

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

Oleg-Suzdalev (Ru) Автор вопроса
­ Jãїиãм
Listen to messages. if event have buttons then cli...

By the way is it exaclty the same with ReplyKeyboardMarkup?

Oleg Suzdalev (Ru)
By the way is it exaclty the same with ReplyKeyboa...

Never tried, but yes keyboard buttons are normal texts.

Replace latest by stable

Похожие вопросы

Обсуждают сегодня

Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
The main vulnerable points of #Monero There is an axiom in computer security that says that a system is as safe as its most vulnerable point. Monero is a #privacy blockchain ...
LiberLion
15
@LGCYMan @JustinKKW Q/A List 1. this part confuses me on #8: "From there, a bridge between erc20 LGXY and erc20 LGXY will be out once that swap is closed." does this mean a...
Sig | LGXY | BattleVerse L1 | BitWin
1
Nothing is pivoting, but merely expanding reach is all. We are bringing in a credible resource that can help outreach in this area that has been mentioned. This does not mean ...
Carl Parker
9
⚡В два раза дороже: созданное за счет госсубсидий тепловое хозяйство приведет к сумасшедшему росту цен Во многих регионах Эстонии жителям грозит безудержный рост цен, котор...
Alöscha
28
На машинку с процем Атом 270 и память 1 Gb не получается накатить генту, беру исошник устанавливаю на на USB потом пытаюсь загрузится В итоге получаю это: Enterring rescue ...
Владимир Кариков
18
Вопросик. Есть контора с 100500 серверами в домене. На каждом прописаны свои админы под задачу. Есть группа универсалов у которых админ на все 100500 серверов. Иногда нужен до...
Alexey D. Filimonov
13
Кстати а покупал кто-нибудь ЭЦП для подписи кода? А то у меня на некоторых компах и ОС иногда SmartScreen винды программу за вирус принимал. Если купить такую ЭЦП и подписыват...
Дмитрий Завгородний
15
De "halving" (of "halvering" in het Nederlands) is een belangrijk onderdeel van het mechanisme van Bitcoin en beïnvloedt hoe nieuwe bitcoins worden gecreëerd en in omloop gebr...
MP
15
https://youtu.be/fuWcn9JsWUw?si=7Z8SU6FU4WfLGJ52 Seems like a true competitor for citadel will be released in terms of gameplay (extraction shooter)
DioZ
12
Карта сайта