> ## 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**](../modules/protocols) module.

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

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

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

<ResponseField name="peer" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="roles" type="List[str]">
  No description available.
</ResponseField>

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

<ResponseField name="account" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="thread_id" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="guild_id" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="parent_channel_id" type="Optional[str]">
  No description available.
</ResponseField>

## Source

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