Function tg_flows::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.