Package org.drinkless.tdlib

# Class TdApi.GetLanguagePackStrings

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.LanguagePackStrings>
org.drinkless.tdlib.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`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

  `TdApi.Function.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String[]`
  `keys`
  Language pack keys of the strings to be returned; leave empty to request all available strings.
  `String`
  `languagePackId`
  Language pack identifier of the strings to be returned.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetLanguagePackStrings()`
  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`
  `getConstructor()`
  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:
      - Constant Field Values

- ## 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.Function<TdApi.LanguagePackStrings>`
    Returns:
      this.CONSTRUCTOR