mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
myBoost | Contains information about a single boost slot ». | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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];