public static class TdApi.SetCustomLanguagePack extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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 ID 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()
getConstructor
in class TdApi.Function