Skip to content

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

Class: ChatBackground

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

This object represents a chat background.

Documentation

Constructors

Constructor

new ChatBackground(payload): ChatBackground

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

Parameters

ParameterType
payloadTelegramChatBackground

Returns

ChatBackground

Properties

PropertyTypeDefined in
payloadTelegramChatBackgroundcontexts/index.d.ts:1486

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


type

Get Signature

get type(): TelegramBackgroundType

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

Type of the background

Returns

TelegramBackgroundType