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