Skip to main content

command

Method
This is a method of the BotMessage class in the bots module.
Extract command name if this is a command message.

Signature

Returns

Option<String>
The result of the operation.

Rust CLI