haskell-tdlib-2.1.11.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.UpgradedGiftAttributeRarity

Synopsis

Documentation

data UpgradedGiftAttributeRarity Source #

Describes rarity of an upgraded gift attribute

Constructors

UpgradedGiftAttributeRarityPerMille

The rarity is represented as the numeric frequence of the model

Fields

  • per_mille :: Maybe Int

    The number of upgraded gifts that receive this attribute for each 1000 gifts upgraded; if 0, then it can be shown as "<0.1%"

UpgradedGiftAttributeRarityUncommon

The attribute is uncommon

UpgradedGiftAttributeRarityRare

The attribute is rare

UpgradedGiftAttributeRarityEpic

The attribute is epic

UpgradedGiftAttributeRarityLegendary

The attribute is legendary