Skip to content

getUpgradedGiftVariants

Function · TDLib 1.8.67 · d1085f9c

Returns all possible variants of upgraded gifts for a regular gift

getUpgradedGiftVariants(
  regular_gift_id: int64,
  return_upgrade_models: Bool,
  return_craft_models: Bool
) → GiftUpgradeVariants

regular_gift_id

int64

Identifier of the regular gift

return_upgrade_models

Bool

Pass true to get models that can be obtained by upgrading a regular gift

return_craft_models

Bool

Pass true to get models that can be obtained by crafting a gift from upgraded gifts