View Source Telegex.Type.CallbackQuery (Telegex v1.8.0)
This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.
Summary
Types
@type t() :: %Telegex.Type.CallbackQuery{ chat_instance: String.t(), data: String.t() | nil, from: Telegex.Type.User.t(), game_short_name: String.t() | nil, id: String.t(), inline_message_id: String.t() | nil, message: Telegex.Type.MaybeInaccessibleMessage.t() | nil }