Class TdApi.LanguagePackStringValuePluralized
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LanguagePackStringValue
dev.voroby.springframework.telegram.client.TdApi.LanguagePackStringValuePluralized
- Enclosing class:
- TdApi
A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Value for few objects.Value for many objects.Value for one object.Default value.Value for two objects.Value for zero objects. -
Constructor Summary
ConstructorDescriptionA language pack string which has different forms based on the number of some object it mentions.LanguagePackStringValuePluralized
(String zeroValue, String oneValue, String twoValue, String fewValue, String manyValue, String otherValue) A language pack string which has different forms based on the number of some object it mentions. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
zeroValue
Value for zero objects. -
oneValue
Value for one object. -
twoValue
Value for two objects. -
fewValue
Value for few objects. -
manyValue
Value for many objects. -
otherValue
Default value. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LanguagePackStringValuePluralized
public LanguagePackStringValuePluralized()A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information. -
LanguagePackStringValuePluralized
public LanguagePackStringValuePluralized(String zeroValue, String oneValue, String twoValue, String fewValue, String manyValue, String otherValue) A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information.- Parameters:
zeroValue
- Value for zero objects.oneValue
- Value for one object.twoValue
- Value for two objects.fewValue
- Value for few objects.manyValue
- Value for many objects.otherValue
- Default value.
-
-
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
-