ExGram.Model.CallbackQuery (ex_gram v0.40.0) View Source
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.
Check the documentation of this model in https://core.telegram.org/bots/api#callbackquery
Link to this section Summary
Link to this section Types
Specs
t() :: %ExGram.Model.CallbackQuery{
chat_instance: String.t(),
data: String.t() | nil,
from: ExGram.Model.User.t(),
game_short_name: String.t() | nil,
id: String.t(),
inline_message_id: String.t() | nil,
message: ExGram.Model.Message.t() | nil
}