Skip to content

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

Class: BackgroundTypeChatTheme ​

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

The background is taken directly from a built-in chat theme.

Documentation

Constructors ​

Constructor ​

new BackgroundTypeChatTheme(payload): BackgroundTypeChatTheme

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

Parameters ​

ParameterType
payloadTelegramBackgroundTypeChatTheme

Returns ​

BackgroundTypeChatTheme

Properties ​

PropertyTypeDefined in
payloadTelegramBackgroundTypeChatThemecontexts/index.d.ts:1247

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


themeName ​

Get Signature ​

get themeName(): string

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

Name of the chat theme, which is usually an emoji

Returns ​

string


type ​

Get Signature ​

get type(): "chat_theme"

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

Type of the background, always “chat_theme”

Returns ​

"chat_theme"