public static class TdApi.SetCustomLanguagePack extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.LanguagePackInfo |
info
Information about the language pack.
|
TdApi.LanguagePackString[] |
strings
Strings of the new language pack.
|
| Constructor and Description |
|---|
SetCustomLanguagePack()
Default constructor for a function, which adds or changes a custom local language pack to the current localization target.
|
SetCustomLanguagePack(TdApi.LanguagePackInfo info,
TdApi.LanguagePackString[] strings)
Creates a function, which adds or changes a custom local language pack to the current localization target.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.LanguagePackInfo info
public TdApi.LanguagePackString[] strings
public static final int CONSTRUCTOR
public SetCustomLanguagePack()
Returns Ok
public SetCustomLanguagePack(TdApi.LanguagePackInfo info, TdApi.LanguagePackString[] strings)
Returns Ok
info - Information about the language pack. Language pack identifier must start with 'X', consist only of English letters, digits and hyphens, and must not exceed 64 characters. Can be called before authorization.strings - Strings of the new language pack.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object