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

# sender • AI Agent SDK

> sender: Message sender.

# sender

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

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

Message sender.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def sender() -> Optional[BotUser]
```

### Returns

<ResponseField name="Returns" type="Optional[BotUser]">
  The result of the operation.
</ResponseField>

## Source

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