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

# Message Received Input • AI Agent SDK

> MessageReceivedInput: Input for MESSAGE_RECEIVED hooks (bot received an incoming message).

# MessageReceivedInput

> Defined in the [**events**](../modules/events) module.

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

Input for MESSAGE\_RECEIVED hooks (bot received an incoming message).

## Properties

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

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

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

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

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

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

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Generic utility method.
</Accordion>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/hooks/events.py#L298">
  `praisonaiagents/hooks/events.py` at line 298
</Card>
