View Source Telegex.Type.Update (Telegex v1.8.0)
This object represents an incoming update. At most one of the optional parameters can be present in any given update.
Summary
Types
@type t() :: %Telegex.Type.Update{ business_connection: Telegex.Type.BusinessConnection.t() | nil, business_message: Telegex.Type.Message.t() | nil, callback_query: Telegex.Type.CallbackQuery.t() | nil, channel_post: Telegex.Type.Message.t() | nil, chat_boost: Telegex.Type.ChatBoostUpdated.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, deleted_business_messages: Telegex.Type.BusinessMessagesDeleted.t() | nil, edited_business_message: Telegex.Type.Message.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, message_reaction: Telegex.Type.MessageReactionUpdated.t() | nil, message_reaction_count: Telegex.Type.MessageReactionCountUpdated.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, removed_chat_boost: Telegex.Type.ChatBoostRemoved.t() | nil, shipping_query: Telegex.Type.ShippingQuery.t() | nil, update_id: integer() }