InputAppEvent

class pyrogram.raw.types.InputAppEvent

Event that occurred in the application.

Constructor of InputAppEvent.

Details:
  • Layer: 227

  • ID: 1D1B1245

Parameters:
  • time (float 64-bit) – Client’s exact timestamp for the event

  • type (str) – Type of event

  • peer (int 64-bit) – Arbitrary numeric value for more convenient selection of certain event types, or events referring to a certain object

  • data (JSONValue) – Details of the event

TL Schema

inputAppEvent#1d1b1245
time:double
type:string
peer:long
data:JSONValue

= InputAppEvent

Parameter Tree

InputAppEvent
├── time → double
├── type → string
├── peer → long
└── data → JSONValue
├── JsonNull
├── JsonBool
│ └── value → Bool
├── JsonNumber
│ └── value → double
├── JsonString
│ └── value → string
├── JsonArray
│ └── value → Vector < JSONValue >
│ ├── JsonNull
│ ├── JsonBool
│ │ └── value → Bool
│ ├── JsonNumber
│ │ └── value → double
│ ├── JsonString
│ │ └── value → string
│ ├── JsonArray
│ │ └── value → Vector < JSONValue >
│ │ ├── JsonNull
│ │ ├── JsonBool
│ │ ├── JsonNumber
│ │ ├── JsonString
│ │ ├── JsonArray
│ │ └── JsonObject
│ └── JsonObject
│ └── value → Vector < JSONObjectValue >
│ └── JsonObjectValue
└── JsonObject
└── value → Vector < JSONObjectValue >
└── JsonObjectValue
├── key → string
└── value → JSONValue
├── JsonNull
├── JsonBool
├── JsonNumber
├── JsonString
├── JsonArray
└── JsonObject

Example

InputAppEvent(
    time=0.0,
    type="text",
    peer=0,
    data=JsonNull(),
)