Class TdApi.AddCustomServerLanguagePack

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.AddCustomServerLanguagePack
Enclosing class:
TdApi

public static class TdApi.AddCustomServerLanguagePack
extends TdApi.Function<TdApi.Ok>
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 Details

    • languagePackId

      public String 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:
      Constant Field Values
  • 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.

      Returns Ok

    • AddCustomServerLanguagePack

      public AddCustomServerLanguagePack​(String languagePackId)
      Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization.

      Returns Ok

      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

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