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

TD.Data.UpgradedGiftOrigin

Synopsis

Documentation

data UpgradedGiftOrigin Source #

Describes origin from which the upgraded gift was obtained

Constructors

UpgradedGiftOriginUpgrade

The gift was obtained by upgrading of a previously received gift

Fields

  • gift_message_id :: Maybe Int

    Identifier of the message with the regular gift that was upgraded; can be 0 or an identifier of a deleted message

UpgradedGiftOriginTransfer

The gift was transferred from another owner

UpgradedGiftOriginResale

The gift was bought from another user

Fields