Skip to content

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

ParameterType
payloadTelegramChatBoostRemoved

Returns

ChatBoostRemoved

Properties

PropertyTypeDefined in
payloadTelegramChatBoostRemovedcontexts/index.d.ts:3334

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


chat

Get Signature

get chat(): Chat

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

Chat which was boosted

Returns

Chat


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