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

# Platform Event Input • AI Agent SDK

> PlatformEventInput: Input for inbound platform-event hooks (Issue #5161).

# PlatformEventInput

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

AI Agent

Input for inbound platform-event hooks (Issue #5161).

Carries a normalised, non-message platform event — a reaction, edit,
deletion, membership change or thread creation — to
`REACTION_RECEIVED` / `MESSAGE_EDITED` / `MESSAGE_DELETED` /
`MEMBER_JOINED` / `MEMBER_LEFT` / `THREAD_CREATED` hooks. Fields mirror
:class:`~praisonaiagents.bots.protocols.PlatformEvent`; the `kind` field
disambiguates reaction add vs remove within `REACTION_RECEIVED`. Emitted
by `MessageHookMixin.fire_platform_event` (praisonai-bot).

## Properties

**kind** `str`

No description available.

**platform** `str`

No description available.

**chat\_id** `str`

No description available.

**user\_id** `str`

No description available.

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

No description available.

**emoji** `Optional[str]`

No description available.

**new\_text** `Optional[str]`

No description available.

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

No description available.

> **Internal & Generic Methods**
>
> * **to\_dict**: Generic utility method.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/hooks/events.py#L392)**
>
> `praisonaiagents/hooks/events.py` at line 392


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