help.SaveAppLog

class pyrogram.raw.functions.help.SaveAppLog

Saves logs of application on the server.

Details:
  • Layer: 223

  • ID: 6F02F748

Parameters:

events (List of InputAppEvent) – List of input events

Returns:

bool

TL Schema

help.saveAppLog#6f02f748
events:Vector<InputAppEvent>

= Bool

Parameter Tree

SaveAppLog
└── eventsVector < InputAppEvent >
└── InputAppEvent
├── timedouble
├── typestring
├── peerlong
└── dataJSONValue
├── JsonNull
├── JsonBool
│ └── valueBool
├── JsonNumber
│ └── valuedouble
├── JsonString
│ └── valuestring
├── JsonArray
│ └── valueVector < JSONValue >
│ ├── JsonNull
│ ├── JsonBool
│ ├── JsonNumber
│ ├── JsonString
│ ├── JsonArray
│ └── JsonObject
└── JsonObject
└── valueVector < JSONObjectValue >
└── JsonObjectValue

Example

await app.invoke(
    SaveAppLog(
        events=[
                InputAppEvent(
                    time=0.0,
                    type="text",
                    peer=0,
                    data=JsonNull()
                )
            ],
    )
)