Skip to content

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

Class: ChatBackground

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

This object represents a chat background.

Documentation

Constructors

Constructor

new ChatBackground(payload): ChatBackground

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

Parameters

ParameterType
payloadTelegramChatBackground

Returns

ChatBackground

Properties

PropertyTypeDefined in
payloadTelegramChatBackgroundcontexts/index.d.ts:2402

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


type

Get Signature

get type(): TelegramBackgroundType

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

Type of the background

Returns

TelegramBackgroundType