- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionstatic final int
Language pack identifier. -
Constructor Summary
ConstructorDescriptionFetches the latest versions of all strings from a language pack in the current localization target from the server.SynchronizeLanguagePack
(DataInput input) Fetches the latest versions of all strings from a language pack in the current localization target from the server.SynchronizeLanguagePack
(String languagePackId) Fetches the latest versions of all strings from a language pack in the current localization target from the server. -
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
Language pack identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
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. ReturnsOk
-
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. ReturnsOk
- Parameters:
languagePackId
- String Language pack identifier.
-
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. 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()
-