Package org.drinkless.tdlib

# Class TdApi.LanguagePackString

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LanguagePackString

Enclosing class:
  `TdApi`

public static class TdApi.LanguagePackString extends TdApi.Object
Represents one language pack string.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String`
  `key`
  String key.
  `TdApi.LanguagePackStringValue`
  `value`
  String value; pass null if the string needs to be taken from the built-in English language pack.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LanguagePackString()`
  Represents one language pack string.
  `LanguagePackString(String key, TdApi.LanguagePackStringValue value)`
  Represents one language pack string.

- ## 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.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### key

    public String key
    String key.

  - ### value

    public TdApi.LanguagePackStringValue value
    String value; pass null if the string needs to be taken from the built-in English language pack.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### LanguagePackString

    public LanguagePackString()
    Represents one language pack string.

  - ### LanguagePackString

    public LanguagePackString(String key, TdApi.LanguagePackStringValue value)
    Represents one language pack string.
    Parameters:
      `key` - String key.
      `value` - String value; pass null if the string needs to be taken from the built-in English language pack.

- ## 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