UpgradedGiftOrigin

class pyrogram.enums.UpgradedGiftOrigin

Origin from which the upgraded gift was obtained. Used in Gift.

UPGRADE = 'upgrade'

The gift was obtained by upgrading of a previously received gift.

TRANSFER = 'transfer'

The gift was transferred from another owner.

RESALE = 'resale'

The gift was bought from another user.

BLOCKCHAIN = 'blockchain'

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.

GIFTED_UPGRADE = 'gifted_upgrade'

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

OFFER = 'offer'

The gift was bought through an offer.

CRAFT = 'craft'

The gift was crafted from other gifts.