Module tdlight.api

Class TdApi.SynchronizeLanguagePack

Enclosing class:
TdApi

public static final class TdApi.SynchronizeLanguagePack extends TdApi.Function<TdApi.Ok>
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:
  • 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
      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

      Throws:
      IOException
  • Method Details