View Source ExGram.Model.CallbackQuery (ex_gram v0.51.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.

Check the documentation of this model in



@type 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.MaybeInaccessibleMessage.t() | nil