Skip to main content

get_channel

AsyncMethod
This is a method of the BotProtocol class in the bots module.
Get channel information.

Signature

async def get_channel(&self, channel_id: &str) -> Result<Option<BotChannel>>

Parameters

channel_id
&str
required
No description available.

Returns

Returns
Result<Option<BotChannel>>
The result of the operation.