MyBoost

class pyrogram.raw.base.MyBoost

Contains information about a single boost slot ».

Constructors:

This base type has 1 constructor available.

MyBoost

Contains information about a single boost slot ».

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
├── slotint
├── peerPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── dateint
├── expiresint
└── cooldown_until_dateint (optional)

Example

MyBoost(
    slot=0,
    peer=PeerUser(user_id=0),
    date=0,
    expires=0,
    cooldown_until_date=0,
)