MadelineProtoDocs/docs/API_docs/constructors/inputAppEvent.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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];