haskell-tdlib-2.1.11.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; may 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

UpgradedGiftOriginBlockchain

The gift was assigned from blockchain and isn't owned by the current user. The gift can't be transferred, resold or withdrawn to blockchain

UpgradedGiftOriginPrepaidUpgrade

The sender or receiver of the message has paid for upgraid of the gift, which has been completed

UpgradedGiftOriginOffer

The gift was bought through an offer

Fields

UpgradedGiftOriginCraft

The gift was crafted from other gifts