public static class TdApi.AddCustomServerLanguagePack extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
languagePackId
Identifier of a language pack to be added; may be different from a name that is used in an "https://t.me/setlanguage/" link.
|
Constructor and Description |
---|
AddCustomServerLanguagePack()
Default constructor for a function, which adds a custom server language pack to the list of installed language packs in current localization target.
|
AddCustomServerLanguagePack(java.lang.String languagePackId)
Creates a function, which adds a custom server language pack to the list of installed language packs in current localization target.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String languagePackId
public static final int CONSTRUCTOR
public AddCustomServerLanguagePack()
Returns Ok
public AddCustomServerLanguagePack(java.lang.String languagePackId)
Returns Ok
languagePackId
- Identifier of a language pack to be added; may be different from a name that is used in an "https://t.me/setlanguage/" link.public int getConstructor()
getConstructor
in class TdApi.Function