Get Channel • AI Agent SDK
get_channel: Get channel information.
get_channel
Async
Method
</div>
This is a method of the BotProtocol class in the protocols module.
Get channel information.
Signature
async def get_channel(channel_id: str) -> Optional[BotChannel]Parameters
ParamField
strChannel ID to look up
Returns
ResponseField
Optional[BotChannel]Channel information or None if not found
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1252