tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::languagePackInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::languagePackInfo:
td::td_api::Object td::TlObject

Public Member Functions

 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
 
- 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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

string id_
 Unique language pack identifier.
 
string 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.
 
string name_
 Language name.
 
string native_name_
 Name of the language in that language.
 
string 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.
 
bool is_official_
 True, if the language pack is official.
 
bool is_rtl_
 True, if the language pack strings are RTL.
 
bool is_beta_
 True, if the language pack is a beta language pack.
 
bool is_installed_
 True, if the language pack is installed by the current user.
 
int32 total_string_count_
 Total number of non-deleted strings from the language pack.
 
int32 translated_string_count_
 Total number of translated strings from the language pack.
 
int32 local_string_count_
 Total number of non-deleted strings from the language pack available locally.
 
string translation_url_
 Link to language translation interface; empty for custom local language packs.
 

Static Public Attributes

static const std::int32_t ID = 542199642
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about a language pack.

Definition at line 35610 of file td_api.h.

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ 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_

Language name.

Definition at line 35625 of file td_api.h.

◆ 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_

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.

Definition at line 35629 of file td_api.h.

◆ 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: