command • Rust AI Agent SDK
command: Extract command name if this is a command message.
command
Method
</div>
This is a method of the BotMessage class in the bots module.
Extract command name if this is a command message.
Signature
def command(&self) -> Option<String>