GramIO API Reference / @gramio/contexts/dist / ChatBoostRemoved
Class: ChatBoostRemoved
Defined in: contexts/index.d.ts:3792
This object represents a boost added to a chat or changed.
Extended by
Constructors
Constructor
new ChatBoostRemoved(
payload):ChatBoostRemoved
Defined in: contexts/index.d.ts:3794
Parameters
| Parameter | Type |
|---|---|
payload | TelegramChatBoostRemoved |
Returns
ChatBoostRemoved
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramChatBoostRemoved | contexts/index.d.ts:3793 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:3796
Returns
string
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:3798
Chat which was boosted
Returns
id
Get Signature
get id():
string
Defined in: contexts/index.d.ts:3800
Unique identifier of the boost
Returns
string
removeDate
Get Signature
get removeDate():
number
Defined in: contexts/index.d.ts:3802
Point in time (Unix timestamp) when the boost was removed
Returns
number
source
Get Signature
get source():
ChatBoostSourcePremium|ChatBoostSourceGiftCode|ChatBoostSourceGiveaway
Defined in: contexts/index.d.ts:3804
Source of the removed boost
Returns
ChatBoostSourcePremium | ChatBoostSourceGiftCode | ChatBoostSourceGiveaway