command • 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 protocols module.
Extract command name if this is a command message.
Signature
def command() -> Optional[str]Returns
ResponseField
Optional[str]The result of the operation.
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 688