Raw.MyBoost
Contains information about a single boost slot.
myBoost#c448415c flags:# slot:int peer:flags.0?Peer date:int expires:int cooldown_until_date:flags.1?int = MyBoost;
export namespace Raw {
export class MyBoost {
constructor(params: {
slot: number;
peer?: Raw.TypePeer;
date: number;
expires: number;
cooldownUntilDate?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xc448415c
Property
slot
: numberBoost slot id
peer
: Raw.TypePeer or undefinedIf 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
: numberWhen (unixtime) we started boosting the peer, 0 otherwise.
expires
: numberIndicates the (unixtime) expiration date of the boost in peer (0 if peer is not set).
cooldownUntilDate
: number or undefinedIf peer is set, indicates the (unixtime) date after which this boost can be reassigned to another channel.