MyBoost
- class pyrogram.raw.types.MyBoost
Contains information about a single boost slot ».
Constructor of
MyBoost.- Details:
Layer:
223ID:
C448415C
- Parameters:
slot (
int32-bit) – Boost slot ID »date (
int32-bit) – When (unixtime) we started boosting the peer, 0 otherwise.expires (
int32-bit) – Indicates the (unixtime) expiration date of the boost in peer (0 if peer is not set).peer (
Peer, optional) – If set, indicates this slot is currently occupied, i.e. we are boosting this peer. Note that we can assign multiple boost slots to the same peer.cooldown_until_date (
int32-bit, optional) – If peer is set, indicates the (unixtime) date after which this boost can be reassigned to another channel.
TL Schema
myBoost#c448415c
flags:#
slot:int
peer:flags.0?Peer
date:int
expires:int
cooldown_until_date:flags.1?int
= MyBoost
Parameter Tree
MyBoost
├── slot →
int├── peer →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── date →
int├── expires →
int└── cooldown_until_date →
int (optional)Example
MyBoost(
slot=0,
date=0,
expires=0,
)