MadelineProtoDocs/old_docs/API_docs_v41/constructors/inputAppEvent.md
2019-12-27 17:48:04 +01:00

1.0 KiB

title description image
inputAppEvent Event that occured in the application. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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 string Yes Data

Type: InputAppEvent

Example:

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

Or, if you're into Lua:

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