Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>LangPackStringPluralized_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class LangPackStringPluralized_
import { LangPackStringPluralized_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

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 info

Constructors

new
LangPackStringPluralized_(params: { key: string; zero_value?: string; one_value?: string; two_value?: string; few_value?: string; many_value?: string; other_value: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
few_value: string

Value for a few objects

key: string

Localization key

optional
many_value: string

Value for many objects

optional
one_value: string

Value for one object

other_value: string

Default value

optional
two_value: string

Value for two objects

optional
zero_value: string

Value for zero objects

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc