Bot

Get updates

Long-polls the authenticated Bot's bounded pending-update queue.

get/bot{token}/getUpdates

Path parameters

tokenstring required

Required bot token included in the URL path.

Query parameters

offsetstring

A positive decimal Inline message identifier

Example:123456789

Bot method parameter.

limitstring

A signed decimal integer string within JavaScript's safe-integer range

Example:42

Bot method parameter.

timeoutstring

A signed decimal integer string within JavaScript's safe-integer range

Example:42

Bot method parameter.

message_trigger'all' | 'mentions'

Bot method parameter.

string
OR
BotUpdateKey[]

Bot method parameter.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Response

BotGetUpdatesSuccess

BotGetUpdatesSuccess required— unresolved $ref

Changes