Creates a new TelegramPollHttp bound to a single bot token.
The Telegram Bot API token.
Executes one long-poll HTTP request against getUpdates.
The update_id offset to fetch from.
AbortSignal that allows the caller to cancel the request.
Outcome describing the data, HTTP error, or abort.
Calls getUpdates with offset=-1 to discover the most recent update_id and returns the next offset so the poller skips stale messages.
Procedure with the next offset (0 when no prior updates exist).
Sends a best-effort getUpdates call with timeout=0 to acknowledge all processed updates up to the given offset.
The offset to acknowledge with Telegram.
Procedure with status 'flushed' on 2xx or 'flush-failed-best-effort' otherwise.
Acknowledges an inline-keyboard callback query so Telegram removes the spinner from the button. Errors are swallowed (best-effort).
The callback_query_id to acknowledge.
Procedure with status 'acked' on 2xx or 'ack-failed-best-effort' otherwise.
Wraps the Telegram Bot API getUpdates / answerCallbackQuery endpoints.