Expand description
StringCommandHandler – handles /command strings extracted from
message text.
Adapted from python-telegram-bot’s StringCommandHandler. The Python
version operates on raw strings put into the queue, not Telegram updates.
Per the design decision, this Rust version operates on Update objects,
extracting message text and checking for /command syntax.
Structs§
- String
Command Handler - Handler that matches messages whose text starts with
/command.