Package it.tdlight.jni
Class TdApi.AddCustomServerLanguagePack
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.AddCustomServerLanguagePack
- Enclosing class:
- TdApi
public static class TdApi.AddCustomServerLanguagePack extends TdApi.Function
Adds a custom server language pack to
the list of installed language packs
in current localization target. Can
be called before authorization.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
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 Summary
Constructors Constructor Description AddCustomServerLanguagePack()
Adds a custom server language pack to the list of installed language packs in current localization target.AddCustomServerLanguagePack(DataInput input)
AddCustomServerLanguagePack(String languagePackId)
Adds a custom server language pack to the list of installed language packs in current localization target. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
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
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AddCustomServerLanguagePack
public AddCustomServerLanguagePack()Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization.Returns
Ok
-
AddCustomServerLanguagePack
Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization.Returns
Ok
- Parameters:
languagePackId
- String Identifier of a language pack to be added; may be different from a name that is used in an "https://t.me/setlanguage/" link.
-
AddCustomServerLanguagePack
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-