Constructor: inputAppEvent

Back to constructors index

Event that occured 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];

Or, if you’re into Lua:

inputAppEvent={_='inputAppEvent', time=double, type='string', peer=long, data=JSONValue}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.