Skip to content

GramIO API Reference / @gramio/contexts/dist / ChatBackground

Class: ChatBackground ​

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

This object represents a chat background.

Documentation

Constructors ​

Constructor ​

new ChatBackground(payload): ChatBackground

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

Parameters ​

ParameterType
payloadTelegramChatBackground

Returns ​

ChatBackground

Properties ​

PropertyTypeDefined in
payloadTelegramChatBackgroundcontexts/index.d.ts:1674

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


type ​

Get Signature ​

get type(): TelegramBackgroundType

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

Type of the background

Returns ​

TelegramBackgroundType