Layer 224
InputAppEventObj
Event that occurred in the application.
constructor
inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent;
Parameters
| Name | Type | Description |
|---|---|---|
| Time | double | Client's exact timestamp for the event |
| Type | string | Type of event |
| Peer | long | Arbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object |
| Data | JSONValue | Details of the event |
Returns
InputAppEventGogram Example
// Creating InputAppEventObj constructor obj := &tg.InputAppEventObj{ Time: 3.14159, Type: "Hello, World!", Peer: int64(1234567890), Data: &tg.JsonValue{}, }