GramIO API Reference / @gramio/contexts/dist / ChatBoostRemoved
Class: ChatBoostRemoved
Defined in: contexts/index.d.ts:3456
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:3458
Parameters
| Parameter | Type |
|---|---|
payload | TelegramChatBoostRemoved |
Returns
ChatBoostRemoved
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramChatBoostRemoved | contexts/index.d.ts:3457 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:3460
Returns
string
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:3462
Chat which was boosted
Returns
id
Get Signature
get id():
string
Defined in: contexts/index.d.ts:3464
Unique identifier of the boost
Returns
string
removeDate
Get Signature
get removeDate():
number
Defined in: contexts/index.d.ts:3466
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:3468
Source of the removed boost
Returns
ChatBoostSourcePremium | ChatBoostSourceGiftCode | ChatBoostSourceGiveaway