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

# Quoted Ref • AI Agent SDK

> QuotedRef: Resolved content of a message a user replied to or quoted.

# QuotedRef

> Defined in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

AI Agent

Resolved content of a message a user replied to or quoted.

Chat platforms carry only the *id* of a quoted message on the admission
path; the referenced text/media must be resolved and attached so the agent
can honour the referent ("do the second one", "why?"). This is that
resolved reference, rendered into the prompt as a compact quoted block.

Attributes:
message\_id: Platform-specific id of the quoted message.
text: Resolved text of the quoted message ("" if unavailable).
author: `"bot"` when quoting the bot's own message, else `"user"`.

## Properties

**message\_id** `str`

No description available.

**text** `str`

No description available.

**author** `str`

No description available.

> **Internal & Generic Methods**
>
> * **from\_dict**: Create from dictionary.
> * **to\_dict**: Convert to dictionary.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L501)**
>
> `praisonaiagents/bots/protocols.py` at line 501


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.