Get Bot • AI Agent SDK
get_bot: Get a registered bot by platform name.
get_bot
Method
</div>
This is a method of the BotOSProtocol class in the protocols module.
Get a registered bot by platform name.
Signature
def get_bot(platform: str) -> Optional[Any]Parameters
ParamField
strPlatform identifier (e.g. “telegram”).
Returns
ResponseField
Optional[Any]The Bot instance, or None if not found.
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1583