Skip to main content

build_poll_client

Function build_poll_client 

Source
pub fn build_poll_client() -> Client
Expand description

Build a dedicated client for getUpdates with a timeout that safely exceeds Telegram’s own 30s long-poll wait. Kept distinct from the client used for sends (spec §9).