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