Class TdApi.GetLanguagePackStrings
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.LanguagePackStrings>
dev.voroby.springframework.telegram.client.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
Modifier and TypeFieldDescriptionstatic final int
Identifier 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
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-