mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
---
|
|
title: "inputAppEvent"
|
|
description: "Event that occurred in the application."
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: inputAppEvent
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Event that occurred in the application.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|time|[double](/API_docs/types/double.html) | Yes|Client's exact timestamp for the event|
|
|
|type|[string](/API_docs/types/string.html) | Yes|Type of event|
|
|
|peer|[long](/API_docs/types/long.html) | Yes|Arbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object|
|
|
|data|[JSONValue](/API_docs/types/JSONValue.html) | Yes|Details of the event|
|
|
|
|
|
|
|
|
### Type: [InputAppEvent](/API_docs/types/InputAppEvent.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => JSONValue];
|
|
```
|