1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 15:14:39 +01:00
MadelineProto/old_docs/API_docs_v42/constructors/inputAppEvent.md
2017-07-23 16:11:02 +02:00

899 B

title description
inputAppEvent inputAppEvent attributes, type and example

Constructor: inputAppEvent

Back to constructors index

Attributes:

Name Type Required
time double Yes
type string Yes
peer long Yes
data string Yes

Type: InputAppEvent

Example:

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

PWRTelegram json-encoded version:

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