Skip to content

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

Class: BackgroundTypeChatTheme

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

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

Documentation

Constructors

Constructor

new BackgroundTypeChatTheme(payload): BackgroundTypeChatTheme

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

Parameters

ParameterType
payloadTelegramBackgroundTypeChatTheme

Returns

BackgroundTypeChatTheme

Properties

PropertyTypeDefined in
payloadTelegramBackgroundTypeChatThemecontexts/index.d.ts:1035

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


themeName

Get Signature

get themeName(): string

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

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:1042

Type of the background, always “chat_theme”

Returns

"chat_theme"