- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionstatic final int
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
ConstructorDescriptionAdds a custom server language pack to the list of installed language packs in current localization target.Adds a custom server language pack to the list of installed language packs in current localization target.AddCustomServerLanguagePack
(String languagePackId) Adds a custom server language pack to the list of installed language packs in current localization target. -
Method Summary
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:
-
-
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. ReturnsOk
-
AddCustomServerLanguagePack
Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization. ReturnsOk
- 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
Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization. ReturnsOk
- 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()
-