MyBoost

class pyrogram.raw.types.MyBoost

Contains information about a single boost slot ».

Constructor of MyBoost.

Details:
  • Layer: 187

  • ID: C448415C

Parameters:
  • slot (int 32-bit) – Boost slot ID »

  • date (int 32-bit) – When (unixtime) we started boosting the peer, 0 otherwise.

  • expires (int 32-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 (int 32-bit, optional) – If peer is set, indicates the (unixtime) date after which this boost can be reassigned to another channel.