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

> BotMessageProtocol: Protocol for bot message handling.

# BotMessageProtocol

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

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

Protocol for bot message handling.

## Methods

<CardGroup cols={2}>
  <Card title="message_id()" icon="function" href="../functions/BotMessageProtocol-message_id">
    Unique message identifier.
  </Card>

  <Card title="content()" icon="function" href="../functions/BotMessageProtocol-content">
    Message content.
  </Card>

  <Card title="sender()" icon="function" href="../functions/BotMessageProtocol-sender">
    Message sender.
  </Card>

  <Card title="channel()" icon="function" href="../functions/BotMessageProtocol-channel">
    Message channel.
  </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#L230">
  `praisonaiagents/bots/protocols.py` at line 230
</Card>
