|
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 | |
| usernames () | |
| usernames (array< string > &&active_usernames_, array< string > &&disabled_usernames_, string const &editable_username_, array< string > &&collectible_usernames_) | |
| 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 | |
| array< string > | active_usernames_ |
| List of active usernames; the first one must be shown as the primary username. The order of active usernames can be changed with reorderActiveUsernames, reorderBotActiveUsernames or reorderSupergroupActiveUsernames. | |
| array< string > | disabled_usernames_ |
| List of currently disabled usernames; the username can be activated with toggleUsernameIsActive, toggleBotUsernameIsActive, or toggleSupergroupUsernameIsActive. | |
| string | editable_username_ |
| Active or disabled username, which may be changed with setUsername or setSupergroupUsername. | |
| array< string > | collectible_usernames_ |
| Collectible usernames that were purchased at https://fragment.com and can be passed to getCollectibleItemInfo for more details. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1263390614 |
| Identifier uniquely determining a type of the object. | |
Describes usernames assigned to a user, a supergroup, or a channel.
| td::td_api::usernames::usernames | ( | ) |
Describes usernames assigned to a user, a supergroup, or a channel.
| td::td_api::usernames::usernames | ( | array< string > && | active_usernames_, |
| array< string > && | disabled_usernames_, | ||
| string const & | editable_username_, | ||
| array< string > && | collectible_usernames_ | ||
| ) |
Describes usernames assigned to a user, a supergroup, or a channel.
| [in] | active_usernames_ | List of active usernames; the first one must be shown as the primary username. The order of active usernames can be changed with reorderActiveUsernames, reorderBotActiveUsernames or reorderSupergroupActiveUsernames. |
| [in] | disabled_usernames_ | List of currently disabled usernames; the username can be activated with toggleUsernameIsActive, toggleBotUsernameIsActive, or toggleSupergroupUsernameIsActive. |
| [in] | editable_username_ | Active or disabled username, which may be changed with setUsername or setSupergroupUsername. |
| [in] | collectible_usernames_ | Collectible usernames that were purchased at https://fragment.com and can be passed to getCollectibleItemInfo for more details. |
|
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.
List of active usernames; the first one must be shown as the primary username. The order of active usernames can be changed with reorderActiveUsernames, reorderBotActiveUsernames or reorderSupergroupActiveUsernames.
Collectible usernames that were purchased at https://fragment.com and can be passed to getCollectibleItemInfo for more details.
List of currently disabled usernames; the username can be activated with toggleUsernameIsActive, toggleBotUsernameIsActive, or toggleSupergroupUsernameIsActive.
| string td::td_api::usernames::editable_username_ |
Active or disabled username, which may be changed with setUsername or setSupergroupUsername.
|
static |