MadelineProto/old_docs/API_docs_v38/constructors/inputAppEvent.md
2017-07-23 16:33:46 +02: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'}