GramIO API Reference / @gramio/contexts/dist / ChatBoostRemoved
Class: ChatBoostRemoved
Defined in: contexts/index.d.ts:3333
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:3335
Parameters
| Parameter | Type |
|---|---|
payload | TelegramChatBoostRemoved |
Returns
ChatBoostRemoved
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramChatBoostRemoved | contexts/index.d.ts:3334 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:3337
Returns
string
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:3339
Chat which was boosted
Returns
id
Get Signature
get id():
string
Defined in: contexts/index.d.ts:3341
Unique identifier of the boost
Returns
string
removeDate
Get Signature
get removeDate():
number
Defined in: contexts/index.d.ts:3343
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:3345
Source of the removed boost
Returns
ChatBoostSourcePremium | ChatBoostSourceGiftCode | ChatBoostSourceGiveaway