> ## 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.

# Bot Channel Protocol • AI Agent SDK

> BotChannelProtocol: Protocol for bot channel representation.

# BotChannelProtocol

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

Protocol for bot channel representation.

## Methods

<CardGroup cols={2}>
  <Card title="channel_id()" icon="function" href="../functions/BotChannelProtocol-channel_id">
    Unique channel identifier.
  </Card>

  <Card title="channel_type()" icon="function" href="../functions/BotChannelProtocol-channel_type">
    Type of channel (dm, group, channel, thread).
  </Card>
</CardGroup>

## Source

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