Callback query #134
Unanswered
senconscious
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Seems like module Telegram.Bot.ChatBot.Chat.Session.Server when trying to extract chat seeks chat field, but from callback query the chat is under chat_instance key |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not exactly, but still. Problem is that chat field when update type is callback_query is under message key. Need to fix get_chat/1 from Telegram.Bot.Utils module to work properly with callback_query case. F.E:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can i handle callback query with ChatBot ? Tried to inspect it in handle_update function, but there was nothing except info log in console, that: "Dropped update without chat".
Beta Was this translation helpful? Give feedback.
All reactions