Is Command • Rust AI Agent SDK

is_command: Check if message is a command.

is_command

Method

</div>

This is a method of the BotMessage class in the bots module.

Check if message is a command.

Signature

python
def is_command(&self) -> bool

Returns

ResponseField bool

The result of the operation.


Related Documentation