Inherits Object.
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
Public Fields | |
| int32 | id_ |
| Accent color identifier. | |
| int32 | built_in_accent_color_id_ |
| Identifier of a built-in color to use in places, where only one color is needed; 0-6. | |
| array< int32 > | light_theme_colors_ |
| The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes. | |
| array< int32 > | dark_theme_colors_ |
| The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes. | |
| int32 | min_channel_chat_boost_level_ |
| The minimum chat boost level required to use the color in a channel chat. | |
Public Instance Methods | |
| accentColor () | |
| accentColor (int32 id_, int32 built_in_accent_color_id_, array< int32 > &&light_theme_colors_, array< int32 > &&dark_theme_colors_, int32 min_channel_chat_boost_level_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -496870680 |
| Identifier uniquely determining a type of the object. | |
| accentColor | ( | ) |
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
| accentColor | ( | int32 | id_, |
| int32 | built_in_accent_color_id_, | ||
| array< int32 > && | light_theme_colors_, | ||
| array< int32 > && | dark_theme_colors_, | ||
| int32 | min_channel_chat_boost_level_ | ||
| ) |
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
| [in] | id_ | Accent color identifier. |
| [in] | built_in_accent_color_id_ | Identifier of a built-in color to use in places, where only one color is needed; 0-6. |
| [in] | light_theme_colors_ | The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes. |
| [in] | dark_theme_colors_ | The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes. |
| [in] | min_channel_chat_boost_level_ | The minimum chat boost level required to use the color in a channel chat. |
|
finalvirtual |