MadelineProto/old_docs/API_docs_v45/constructors/inputAppEvent.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

908 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'}