Function listen_to_update

Source
pub async fn listen_to_update<T>(token: T)
where T: ToString,
Expand description

Create a listener for Telegram bot represented by token

Before creating the listener, this function will revoke previous registered listener of current flow so you don’t need to do it manually.