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

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

## Source

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