> ## 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 • AI Agent SDK

> BotChannel: Represents a channel/chat in a messaging platform.

# BotChannel

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

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

Represents a channel/chat in a messaging platform.

Attributes:
channel\_id: Platform-specific channel identifier
name: Channel name (if available)
channel\_type: Type of channel (dm, group, channel, thread)
metadata: Additional platform-specific metadata

## Properties

<ResponseField name="channel_id" type="str">
  No description available.
</ResponseField>

<ResponseField name="name" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="channel_type" type="str">
  No description available.
</ResponseField>

<ResponseField name="metadata" type="Dict">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **from\_dict**: Create from dictionary.
  * **to\_dict**: Convert to dictionary.
</Accordion>

## Source

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