public static class TdApi.GetLanguagePackString extends TdApi.Function
Returns LanguagePackStringValue
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
key
Language pack key of the string to be returned.
|
java.lang.String |
languagePackDatabasePath
Path to the language pack database in which strings are stored.
|
java.lang.String |
languagePackId
Language pack identifier.
|
java.lang.String |
localizationTarget
Localization target to which the language pack belongs.
|
Constructor and Description |
---|
GetLanguagePackString()
Default constructor for a function, which returns a string stored in the local database from the specified localization target and language pack by its key.
|
GetLanguagePackString(java.lang.String languagePackDatabasePath,
java.lang.String localizationTarget,
java.lang.String languagePackId,
java.lang.String key)
Creates a function, which returns a string stored in the local database from the specified localization target and language pack by its key.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String languagePackDatabasePath
public java.lang.String localizationTarget
public java.lang.String languagePackId
public java.lang.String key
public static final int CONSTRUCTOR
public GetLanguagePackString()
Returns LanguagePackStringValue
public GetLanguagePackString(java.lang.String languagePackDatabasePath, java.lang.String localizationTarget, java.lang.String languagePackId, java.lang.String key)
Returns LanguagePackStringValue
languagePackDatabasePath
- Path to the language pack database in which strings are stored.localizationTarget
- Localization target to which the language pack belongs.languagePackId
- Language pack identifier.key
- Language pack key of the string to be returned.public int getConstructor()
getConstructor
in class TdApi.Function