Constructor: myBoost
Contains information about a single boost slot ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
slot | int | Yes | Boost slot ID » |
peer | long | 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. |
date | int | Yes | When (unixtime) we started boosting the peer , 0 otherwise. |
expires | int | Yes | Indicates the (unixtime) expiration date of the boost in peer (0 if peer is not set). |
cooldown_until_date | int | Optional | If 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];