TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
themeSettings () | |
themeSettings (int32 accent_color_, object_ptr< background > &&background_, object_ptr< BackgroundFill > &&outgoing_message_fill_, bool animate_outgoing_message_fill_, int32 outgoing_message_accent_color_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
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. | |
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. | |
Static Public Attributes | |
static const std::int32_t | ID = -62120942 |
Identifier uniquely determining a type of the object. | |
Describes theme settings.
td::td_api::themeSettings::themeSettings | ( | ) |
Describes theme settings.
td::td_api::themeSettings::themeSettings | ( | 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] | 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. |
[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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.