Poll for updates
Long Polling & Proxy
Poll Updates
Long-polling endpoint that returns buffered Telegram updates in getUpdates-compatible format.
Requires long_poll_enabled to be set on the bot. Blocks until new updates are available or timeout seconds elapse.
Multiple clients can poll simultaneously. Use offset to acknowledge processed updates (same semantics as Telegram’s getUpdates).
GET
Poll for updates
Authorizations
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
Query Parameters
Bot ID to poll updates for
Acknowledge updates with update_id < offset (Telegram getUpdates semantics)
Maximum number of updates to return
Required range:
x <= 100Seconds to wait for updates before returning empty result
Required range:
x <= 60