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
Returns strings from a language pack in the current localization target by their keys. Can be called before authorization.
Returns LanguagePackStrings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.String[]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
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-