Skip to main content

get_channel

AsyncMethod
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

channel_id
str
required
Channel ID to look up

Returns

Returns
Optional[BotChannel]
Channel information or None if not found