getUpdates
Retrieve incoming Telegram bot updates using long polling, including messages and callback queries. Specify timeout, offset, limit, and allowed update types to control the response.
Instructions
Receive incoming updates using long polling. Returns an Array of Update objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limits the number of updates to be retrieved (1-100). Defaults to 100. | |
| offset | No | Identifier of the first update to be returned. Must be greater than the highest update_id received. | |
| timeout | No | Timeout in seconds for long polling (0-50). Defaults to 0 (short polling). | |
| allowed_updates | No | List of update types to receive. E.g., ["message", "edited_message", "callback_query"] |