Skip to content

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 ​

ParameterType
payloadTelegramChatBoostRemoved

Returns ​

ChatBoostRemoved

Properties ​

PropertyTypeDefined in
payloadTelegramChatBoostRemovedcontexts/index.d.ts:3793

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:3796

MDN

Returns ​

string


chat ​

Get Signature ​

get chat(): Chat

Defined in: contexts/index.d.ts:3798

Chat which was boosted

Returns ​

Chat


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