#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | languagePackInfo () |
| |
| | languagePackInfo (string const &id_, string const &base_language_pack_id_, string const &name_, string const &native_name_, string const &plural_code_, bool is_official_, bool is_rtl_, bool is_beta_, bool is_installed_, int32 total_string_count_, int32 translated_string_count_, int32 local_string_count_, string const &translation_url_) |
| |
| void | store (TlStorerToString &s, const char *field_name) const final |
| |
| 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 const std::int32_t | ID = 542199642 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains information about a language pack.
Definition at line 35610 of file td_api.h.
◆ languagePackInfo() [1/2]
| td::td_api::languagePackInfo::languagePackInfo |
( |
| ) |
|
Contains information about a language pack.
◆ languagePackInfo() [2/2]
| td::td_api::languagePackInfo::languagePackInfo |
( |
string const & |
id_, |
|
|
string const & |
base_language_pack_id_, |
|
|
string const & |
name_, |
|
|
string const & |
native_name_, |
|
|
string const & |
plural_code_, |
|
|
bool |
is_official_, |
|
|
bool |
is_rtl_, |
|
|
bool |
is_beta_, |
|
|
bool |
is_installed_, |
|
|
int32 |
total_string_count_, |
|
|
int32 |
translated_string_count_, |
|
|
int32 |
local_string_count_, |
|
|
string const & |
translation_url_ |
|
) |
| |
Contains information about a language pack.
- Parameters
-
| [in] | id_ | Unique language pack identifier. |
| [in] | base_language_pack_id_ | Identifier of a base language pack; may be empty. If a string is missed in the language pack, then it must be fetched from base language pack. Unsupported in custom language packs. |
| [in] | name_ | Language name. |
| [in] | native_name_ | Name of the language in that language. |
| [in] | plural_code_ | A language code to be used to apply plural forms. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information. |
| [in] | is_official_ | True, if the language pack is official. |
| [in] | is_rtl_ | True, if the language pack strings are RTL. |
| [in] | is_beta_ | True, if the language pack is a beta language pack. |
| [in] | is_installed_ | True, if the language pack is installed by the current user. |
| [in] | total_string_count_ | Total number of non-deleted strings from the language pack. |
| [in] | translated_string_count_ | Total number of translated strings from the language pack. |
| [in] | local_string_count_ | Total number of non-deleted strings from the language pack available locally. |
| [in] | translation_url_ | Link to language translation interface; empty for custom local language packs. |
◆ store()
| void td::td_api::languagePackInfo::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ base_language_pack_id_
| string td::td_api::languagePackInfo::base_language_pack_id_ |
Identifier of a base language pack; may be empty. If a string is missed in the language pack, then it must be fetched from base language pack. Unsupported in custom language packs.
Definition at line 35623 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::languagePackInfo::ID = 542199642 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 35672 of file td_api.h.
◆ id_
| string td::td_api::languagePackInfo::id_ |
Unique language pack identifier.
Definition at line 35621 of file td_api.h.
◆ is_beta_
| bool td::td_api::languagePackInfo::is_beta_ |
True, if the language pack is a beta language pack.
Definition at line 35635 of file td_api.h.
◆ is_installed_
| bool td::td_api::languagePackInfo::is_installed_ |
True, if the language pack is installed by the current user.
Definition at line 35637 of file td_api.h.
◆ is_official_
| bool td::td_api::languagePackInfo::is_official_ |
True, if the language pack is official.
Definition at line 35631 of file td_api.h.
◆ is_rtl_
| bool td::td_api::languagePackInfo::is_rtl_ |
True, if the language pack strings are RTL.
Definition at line 35633 of file td_api.h.
◆ local_string_count_
| int32 td::td_api::languagePackInfo::local_string_count_ |
Total number of non-deleted strings from the language pack available locally.
Definition at line 35643 of file td_api.h.
◆ name_
| string td::td_api::languagePackInfo::name_ |
◆ native_name_
| string td::td_api::languagePackInfo::native_name_ |
Name of the language in that language.
Definition at line 35627 of file td_api.h.
◆ plural_code_
| string td::td_api::languagePackInfo::plural_code_ |
◆ total_string_count_
| int32 td::td_api::languagePackInfo::total_string_count_ |
Total number of non-deleted strings from the language pack.
Definition at line 35639 of file td_api.h.
◆ translated_string_count_
| int32 td::td_api::languagePackInfo::translated_string_count_ |
Total number of translated strings from the language pack.
Definition at line 35641 of file td_api.h.
◆ translation_url_
| string td::td_api::languagePackInfo::translation_url_ |
Link to language translation interface; empty for custom local language packs.
Definition at line 35645 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h