View Source ExGram.Model.Update (ex_gram v0.53.0)

This object represents an incoming update. At most one of the optional parameters can be present in any given update.

Check the documentation of this model in https://core.telegram.org/bots/api#update

Summary

Types

@type t() :: %ExGram.Model.Update{
  business_connection: ExGram.Model.BusinessConnection.t() | nil,
  business_message: ExGram.Model.Message.t() | nil,
  callback_query: ExGram.Model.CallbackQuery.t() | nil,
  channel_post: ExGram.Model.Message.t() | nil,
  chat_boost: ExGram.Model.ChatBoostUpdated.t() | nil,
  chat_join_request: ExGram.Model.ChatJoinRequest.t() | nil,
  chat_member: ExGram.Model.ChatMemberUpdated.t() | nil,
  chosen_inline_result: ExGram.Model.ChosenInlineResult.t() | nil,
  deleted_business_messages: ExGram.Model.BusinessMessagesDeleted.t() | nil,
  edited_business_message: ExGram.Model.Message.t() | nil,
  edited_channel_post: ExGram.Model.Message.t() | nil,
  edited_message: ExGram.Model.Message.t() | nil,
  inline_query: ExGram.Model.InlineQuery.t() | nil,
  message: ExGram.Model.Message.t() | nil,
  message_reaction: ExGram.Model.MessageReactionUpdated.t() | nil,
  message_reaction_count: ExGram.Model.MessageReactionCountUpdated.t() | nil,
  my_chat_member: ExGram.Model.ChatMemberUpdated.t() | nil,
  poll: ExGram.Model.Poll.t() | nil,
  poll_answer: ExGram.Model.PollAnswer.t() | nil,
  pre_checkout_query: ExGram.Model.PreCheckoutQuery.t() | nil,
  removed_chat_boost: ExGram.Model.ChatBoostRemoved.t() | nil,
  shipping_query: ExGram.Model.ShippingQuery.t() | nil,
  update_id: integer()
}

Functions