Poll for 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
授权
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
查询参数
Bot ID to poll updates for
Acknowledge updates with update_id < offset (Telegram getUpdates semantics)
Maximum number of updates to return
必填范围:
x <= 100Seconds to wait for updates before returning empty result
必填范围:
x <= 60