Module matrix_bot_api::handlers [−][src]
Re-exports
pub use self::stateless_handler::StatelessHandler; |
Modules
stateless_handler |
Traits
MessageHandler |
Any struct that implements this trait can be passed to a MatrixBot. The bot will call handle_message() on each arriving text-message |
Functions
extract_command |
Convenience-function to split the incoming message by whitespace and extract the given prefix from the first word. Returns None, if the message does not start with the given prefix |