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

# Route Facts • AI Agent SDK

> RouteFacts: Inbound facts extracted from a message, used to resolve a binding.

# RouteFacts

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

AI Agent

Inbound facts extracted from a message, used to resolve a binding.

Attributes:
chat\_type: Normalised chat type ("dm" | "group" | "channel" | "default").
peer: Sender/user id.
roles: Roles/guild-role memberships of the sender.
channel\_id: The chat/channel id the message arrived in.
account: The receiving bot account (multi-account channels).
thread\_id: The thread / forum-post id the message arrived in, when the
platform threads conversations (Issue #4839).
guild\_id: The server / workspace id the message belongs to (Discord
guild, Slack workspace), used for whole-server routing (Issue #4839).
parent\_channel\_id: The parent channel of a thread/forum-post, so a
channel-level binding can cover the threads beneath it via
parent-chain matching (Issue #4839).

## Properties

**chat\_type** `str`

No description available.

**peer** `Optional[str]`

No description available.

**roles** `List[str]`

No description available.

**channel\_id** `Optional[str]`

No description available.

**account** `Optional[str]`

No description available.

**thread\_id** `Optional[str]`

No description available.

**guild\_id** `Optional[str]`

No description available.

**parent\_channel\_id** `Optional[str]`

No description available.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L2500)
>
> `praisonaiagents/gateway/protocols.py` at line 2500


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