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
├── 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,
    peer=PeerUser(user_id=0),
    date=0,
    expires=0,
    cooldown_until_date=0,
)