Link Search Menu Expand Document

Constructor: premium.myBoosts

Back to constructors index

A list of peers we are currently boosting, and how many boost slots we have left.

Attributes:

NameTypeRequiredDescription
my_boostsArray of MyBoostYesInfo about boosted peers and remaining boost slots.
chatsArray of ChatYesReferenced chats
usersArray of UserYesReferenced users

Type: premium.MyBoosts

Example:

$premium_myBoosts = ['_' => 'premium.myBoosts', 'my_boosts' => [MyBoost, MyBoost], 'chats' => [Chat, Chat], 'users' => [User, User]];