Skip to main content

Module client

Module client 

Source
Expand description

Client and executor abstractions used to call the Telegram Bot API. Telegram Bot API client primitives.

The core client is independent from any HTTP runtime. It builds Telegram Bot API URLs, serializes method payloads, deserializes typed responses, and leaves transport details to a crate::client::ClientExecutor.

Modules§

worker_0_8
Cloudflare Workers executor implementation for worker 0.8. ClientExecutor implementation for Cloudflare Workers using worker 0.8.

Structs§

Client
Telegram Bot API client parameterized by an HTTP executor.

Enums§

Error
Error returned by Client::execute.

Traits§

ClientExecutor
Runtime-specific transport used by Client.