help.SetBotUpdatesStatus
- class pyrogram.raw.functions.help.SetBotUpdatesStatus
Informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only
- Details:
Layer:
223ID:
EC22CFCD
- Parameters:
pending_updates_count (
int32-bit) – Number of pending updatesmessage (
str) – Error message, if present
- Returns:
bool
TL Schema
help.setBotUpdatesStatus#ec22cfcd
pending_updates_count:int
message:string
= Bool
Parameter Tree
SetBotUpdatesStatus
├── pending_updates_count →
int└── message →
stringExample
await app.invoke(
SetBotUpdatesStatus(
pending_updates_count=0,
message="Hello",
)
)