java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.LanguagePackStringValue
it.tdlight.jni.TdApi.LanguagePackStringValuePluralized
- Enclosing class:
- TdApi
public static final class TdApi.LanguagePackStringValuePluralized
extends TdApi.LanguagePackStringValue
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
-
Constructor Summary
ConstructorDescriptionA language pack string which has different forms based on the number of some object it mentions.A 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
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- 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
- String Value for zero objects.oneValue
- String Value for one object.twoValue
- String Value for two objects.fewValue
- String Value for few objects.manyValue
- String Value for many objects.otherValue
- String Default value.
-
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.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-