MadelineProtoDocs/old_docs/API_docs_v91/constructors/inputAppEvent.md
2019-03-08 13:49:23 +01:00

1019 B

title description image
inputAppEvent App event https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputAppEvent

Back to constructors index

App event

Attributes:

Name Type Required Description
time double Yes Time
type string Yes Type
peer long Yes Peer
data JSONValue Yes Data

Type: InputAppEvent

Example:

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

PWRTelegram json-encoded version:

{"_": "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}