MadelineProtoDocs/old_docs/API_docs_v2/constructors/inputAppEvent.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
inputAppEvent Event that occured in the application. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputAppEvent

Back to constructors index

Event that occured in the application.

Attributes:

Name Type Required Description
time double Yes Client's exact timestamp for the event
type string Yes Type of event
peer long Yes Arbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object
data string Yes

Type: InputAppEvent

Example:

$inputAppEvent = ['_' => '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'}