Skip to main content

myBoost

Contains information about a single boost slot ».

type tg.MyBoost struct { /* ... */ }

Fields

NameTypeRequiredDescription
SlotintyesBoost slot ID »
PeerPeerClassIf 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.
DateintyesWhen (unixtime) we started boosting the peer, 0 otherwise.
ExpiresintyesIndicates the (unixtime) expiration date of the boost in peer (0 if peer is not set).
CooldownUntilDateintIf peer is set, indicates the (unixtime) date after which this boost can be reassigned to another channel.

References