Package it.tdlight.jni
Class TdApi.SynchronizeLanguagePack
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SynchronizeLanguagePack
- Enclosing class:
- TdApi
public static class TdApi.SynchronizeLanguagePack extends TdApi.Function
Fetches the latest versions of all
strings from a language pack in the
current localization target from the
server. This method doesn't need to
be called explicitly for the current
used/base language packs. Can be called before authorization.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
languagePackId
Language pack identifier. -
Constructor Summary
Constructors Constructor Description SynchronizeLanguagePack()
Fetches the latest versions of all strings from a language pack in the current localization target from the server.SynchronizeLanguagePack(DataInput input)
SynchronizeLanguagePack(String languagePackId)
Fetches the latest versions of all strings from a language pack in the current localization target from the server. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
languagePackId
Language pack identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SynchronizeLanguagePack
public SynchronizeLanguagePack()Fetches the latest versions of all strings from a language pack in the current localization target from the server. This method doesn't need to be called explicitly for the current used/base language packs. Can be called before authorization.Returns
Ok
-
SynchronizeLanguagePack
Fetches the latest versions of all strings from a language pack in the current localization target from the server. This method doesn't need to be called explicitly for the current used/base language packs. Can be called before authorization.Returns
Ok
- Parameters:
languagePackId
- String Language pack identifier.
-
SynchronizeLanguagePack
- 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()
-