Package org.drinkless.tdlib
Class TdApi.GetLanguagePackStrings
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetLanguagePackStrings
-
- Enclosing class:
- TdApi
public static class TdApi.GetLanguagePackStrings extends TdApi.Function
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 intCONSTRUCTORIdentifier uniquely determining type of the object.String[]keysLanguage pack keys of the strings to be returned; leave empty to request all available strings.StringlanguagePackIdLanguage 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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 Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-