Link Search Menu Expand Document

Constructor: inputAppEvent

Back to constructors index

Event that occurred in the application.

Attributes:

NameTypeRequiredDescription
timedoubleYesClient’s exact timestamp for the event
typestringYesType of event
peerlongYesArbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object
dataJSONValueYesDetails of the event

Type: InputAppEvent

Example:

$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => 'string', 'peer' => long, 'data' => JSONValue];