Link Search Menu Expand Document

Constructor: myBoost

Back to constructors index

Contains information about a single boost slot ».

Attributes:

NameTypeRequiredDescription
slotintYesBoost slot ID »
peerlongOptionalIf 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).
cooldown_until_dateintOptionalIf peer is set, indicates the (unixtime) date after which this boost can be reassigned to another channel.

Type: MyBoost

Example:

$myBoost = ['_' => 'myBoost', 'slot' => int, 'peer' => long, 'date' => int, 'expires' => int, 'cooldown_until_date' => int];