Class TdApi.GetLanguagePackStrings

Enclosing class:
TdApi

public static class TdApi.GetLanguagePackStrings extends TdApi.Function<TdApi.LanguagePackStrings>
Returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

Returns LanguagePackStrings

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Language pack keys of the strings to be returned; leave empty to request all available strings.
    Language pack identifier of the strings to be returned.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns strings from a language pack in the current localization target by their keys.
    GetLanguagePackStrings(String languagePackId, String[] keys)
    Creates a function, which returns strings from a language pack in the current localization target by their keys.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • languagePackId

      public String languagePackId
      Language pack identifier of the strings to be returned.
    • keys

      public String[] keys
      Language pack keys of the strings to be returned; leave empty to request all available strings.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetLanguagePackStrings

      public GetLanguagePackStrings()
      Default constructor for a function, which returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

      Returns LanguagePackStrings

    • GetLanguagePackStrings

      public GetLanguagePackStrings(String languagePackId, String[] keys)
      Creates a function, which returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

      Returns LanguagePackStrings

      Parameters:
      languagePackId - Language pack identifier of the strings to be returned.
      keys - Language pack keys of the strings to be returned; leave empty to request all available strings.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR