Layer 220
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

InputAppEvent

Gogram Example

// Creating InputAppEvent constructor
obj := &tg.InputAppEvent{
    Time: 0.0,
    Type: "...",
    Peer: int64(0),
    Data: &tg.JsonValue{},
}