Sha256: 11b7bc5ec884a3665932f257b78e2f49d0d8d8f724f6a3d19841c82fec5a9417

Contents?: true

Size: 951 Bytes

Versions: 2

Compression:

Stored size: 951 Bytes

Contents

module TD::Types
  # 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.
  #
  # @attr zero_value [TD::Types::String] Value for zero objects.
  # @attr one_value [TD::Types::String] Value for one object.
  # @attr two_value [TD::Types::String] Value for two objects.
  # @attr few_value [TD::Types::String] Value for few objects.
  # @attr many_value [TD::Types::String] Value for many objects.
  # @attr other_value [TD::Types::String] Default value.
  class LanguagePackStringValue::Pluralized < LanguagePackStringValue
    attribute :zero_value, TD::Types::String
    attribute :one_value, TD::Types::String
    attribute :two_value, TD::Types::String
    attribute :few_value, TD::Types::String
    attribute :many_value, TD::Types::String
    attribute :other_value, TD::Types::String
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/language_pack_string_value/pluralized.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/language_pack_string_value/pluralized.rb