Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • IUpdate

Index

Properties

Optional callback_query

callback_query: ICallbackQuery

New incoming callback query.

Optional channel_post

channel_post: IMessage

New incoming channel post of any kind — text, photo, sticker, etc.

Optional chosen_inline_result

chosen_inline_result: IChosenInlineResult

The result of an inline query that was chosen by a user and sent to their chat partner.

Optional edited_channel_post

edited_channel_post: IMessage

New version of a channel post that is known to the bot and was edited.

Optional edited_message

edited_message: IMessage

New version of a message that is known to the bot and was edited.

Optional inline_query

inline_query: IInlineQuery

New incoming inline query.

Optional message

message: IMessage

New incoming message of any kind — text, photo, sticker, etc.

Optional pre_checkout_query

pre_checkout_query: IPreCheckoutQuery

New incoming pre-checkout query. Contains full information about checkout.

Optional shipping_query

shipping_query: IShippingQuery

New incoming shipping query. Only for invoices with flexible price.

update_id

update_id: number

The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you’re using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc