Bot

Get updates

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

get/bot/getUpdates

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 required

Required bot token using the Bearer scheme.

Response

BotGetUpdatesSuccess

BotGetUpdatesSuccess required— unresolved $ref

Changes