# inputAppEvent

> Event that occurred in the application.

[Back to constructors index](/API_docs/constructors/index.html)



Event that occurred in the application.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|time|[double](/API_docs/types/double.html) | Yes|Client's exact timestamp for the event|
|type|[string](/API_docs/types/string.html) | Yes|Type of event|
|peer|[long](/API_docs/types/long.html) | Yes|Arbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object|
|data|[JSONValue](/API_docs/types/JSONValue.html) | Yes|Details of the event|



### Type: [InputAppEvent](/API_docs/types/InputAppEvent.html)


### Example:

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