Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Update → Get Updates

AI-generated

Summary

Retrieve new updates for the bot from the Telegram API, fetching messages and other events directed to the bot.

Inputs

  • Offset — Identifier of the first update to be returned, used to start fetching updates from a specific update ID.
  • Limit — Maximum number of updates to retrieve in one call (between 1 and 100).
  • Timeout — Timeout in seconds for long polling; sets how long the request should wait for an update before returning.
  • Allowed Updates (JSON) — JSON array specifying the types of updates the bot wants to receive (e.g., messages, edited messages, channel posts).

Output shape

a list of update objects, each representing a single update received by the bot

Returns multiple updates as an array, each item encapsulated as an individual n8n workflow item JSON property. Using 'Offset' allows pagination through updates to avoid duplication.

Links

Discussion