In terms of Telegram bot API the maximum polling time of getUpdatesis referred to as timeout. That is if there are pending updates, Telegram will return them immediately. In the other case, it will wait for timeout seconds and then answer with an empty list.
The telegram-bot Rust library has its own notion of timeouts. getUpdates' timeout [i