View Source Telegex.Type.Update (Telegex v1.0.0-rc.8)

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

Link to this section Summary

Link to this section Types

@type t() :: %Telegex.Type.Update{
  callback_query: Telegex.Type.CallbackQuery.t() | nil,
  channel_post: Telegex.Type.Message.t() | nil,
  chat_join_request: Telegex.Type.ChatJoinRequest.t() | nil,
  chat_member: Telegex.Type.ChatMemberUpdated.t() | nil,
  chosen_inline_result: Telegex.Type.ChosenInlineResult.t() | nil,
  edited_channel_post: Telegex.Type.Message.t() | nil,
  edited_message: Telegex.Type.Message.t() | nil,
  inline_query: Telegex.Type.InlineQuery.t() | nil,
  message: Telegex.Type.Message.t() | nil,
  my_chat_member: Telegex.Type.ChatMemberUpdated.t() | nil,
  poll: Telegex.Type.Poll.t() | nil,
  poll_answer: Telegex.Type.PollAnswer.t() | nil,
  pre_checkout_query: Telegex.Type.PreCheckoutQuery.t() | nil,
  shipping_query: Telegex.Type.ShippingQuery.t() | nil,
  update_id: integer()
}