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 Details

    • languagePackId

      public String 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

      public SynchronizeLanguagePack​(String languagePackId)
      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

      public SynchronizeLanguagePack​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details