|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| 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 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 | 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = -496870680 |
| Identifier uniquely determining a type of the object. | |
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
| td::td_api::accentColor::accentColor | ( | ) |
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
| td::td_api::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_ | ||
| ) |
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 |
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.
| int32 td::td_api::accentColor::built_in_accent_color_id_ |
|
static |
| int32 td::td_api::accentColor::id_ |
| int32 td::td_api::accentColor::min_channel_chat_boost_level_ |