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.
Constructors
Constructor
new BackgroundTypeChatTheme(
payload):BackgroundTypeChatTheme
Defined in: contexts/index.d.ts:1036
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBackgroundTypeChatTheme |
Returns
BackgroundTypeChatTheme
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBackgroundTypeChatTheme | contexts/index.d.ts:1035 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1038
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"