> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Channel • AI Agent SDK

> get_channel: Get channel information.

# get\_channel

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**BotProtocol**](../classes/BotProtocol) class in the [**protocols**](../modules/protocols) module.

Get channel information.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def get_channel(channel_id: str) -> Optional[BotChannel]
```

## Parameters

<ParamField query="channel_id" type="str" required={true}>
  Channel ID to look up
</ParamField>

### Returns

<ResponseField name="Returns" type="Optional[BotChannel]">
  Channel information or None if not found
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L444">
  `praisonaiagents/bots/protocols.py` at line 444
</Card>
