Inherits Object.
Describes theme settings.
Public Fields | |
| object_ptr< BuiltInTheme > | base_theme_ |
| Base theme for this theme. | |
| int32 | accent_color_ |
| Theme accent color in ARGB format. | |
| object_ptr< background > | background_ |
| The background to be used in chats; may be null. | |
| object_ptr< BackgroundFill > | outgoing_message_fill_ |
| The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead. | |
| bool | animate_outgoing_message_fill_ |
| If true, the freeform gradient fill needs to be animated on every sent message. | |
| int32 | outgoing_message_accent_color_ |
| Accent color of outgoing messages in ARGB format. | |
Public Instance Methods | |
| themeSettings () | |
| themeSettings (object_ptr< BuiltInTheme > &&base_theme_, int32 accent_color_, object_ptr< background > &&background_, object_ptr< BackgroundFill > &&outgoing_message_fill_, bool animate_outgoing_message_fill_, int32 outgoing_message_accent_color_) | |
| 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 = 1935106938 |
| Identifier uniquely determining a type of the object. | |
| themeSettings | ( | ) |
Describes theme settings.
| themeSettings | ( | object_ptr< BuiltInTheme > && | base_theme_, |
| int32 | accent_color_, | ||
| object_ptr< background > && | background_, | ||
| object_ptr< BackgroundFill > && | outgoing_message_fill_, | ||
| bool | animate_outgoing_message_fill_, | ||
| int32 | outgoing_message_accent_color_ | ||
| ) |
Describes theme settings.
| [in] | base_theme_ | Base theme for this theme. |
| [in] | accent_color_ | Theme accent color in ARGB format. |
| [in] | background_ | The background to be used in chats; may be null. |
| [in] | outgoing_message_fill_ | The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead. |
| [in] | animate_outgoing_message_fill_ | If true, the freeform gradient fill needs to be animated on every sent message. |
| [in] | outgoing_message_accent_color_ | Accent color of outgoing messages in ARGB format. |
|
finalvirtual |