MadelineProtoDocs/old_docs/API_docs_v57/constructors/inputAppEvent.md
2018-04-01 13:24: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'}