UpdateBotChatBoost
- class pyrogram.raw.types.UpdateBotChatBoost
A channel/supergroup boost has changed (bots only)
Constructor of
Update.- Details:
Layer:
223ID:
904DD49C
TL Schema
updateBotChatBoost#904dd49c
peer:Peer
boost:Boost
qts:int
= Update
Parameter Tree
UpdateBotChatBoost
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── boost →
Boost│ └──
Boost│ ├── gift →
true (optional)│ ├── giveaway →
true (optional)│ ├── unclaimed →
true (optional)│ ├── id →
string│ ├── user_id →
long (optional)│ ├── giveaway_msg_id →
int (optional)│ ├── date →
int│ ├── expires →
int│ ├── used_gift_slug →
string (optional)│ ├── multiplier →
int (optional)│ └── stars →
long (optional)└── qts →
intExample
UpdateBotChatBoost(
peer=PeerUser(user_id=0),
boost=Boost(
id="text",
date=0,
expires=0
),
qts=0,
)