Module teloxide::dispatching::repls
source · [−]Available on crate feature
ctrlc_handler only.Expand description
REPLs for dispatching updates.
This module provides utilities for easy update handling. They accept a single “handler” function that processes all updates of a certain kind. Note that REPLs are meant to be used for simple scenarios, such as prototyping, inasmuch they lack configuration and some advanced features.
Functions
A REPL for commands.
A REPL for commands, with a custom
UpdateListener.A REPL for messages, with a custom
UpdateListener.