Skip to main content

router_open_chat_id

Function router_open_chat_id 

Source
pub fn router_open_chat_id(router: Router) -> Option<String>
Expand description

Pull the open chat id out of a Router, falling back to its default screen. Shells normally just call this with state.router so they don’t each reimplement the Screen::Chat { chat_id } extraction.