Arguments for Api::upgradeGift.
More...
#include <Types.h>
|
| std::string | businessConnectionId { } |
| | Unique identifier of the business connection.
|
| std::string | ownedGiftId { } |
| | Unique identifier of the regular gift that should be upgraded to a unique one.
|
| bool | keepOriginalDetails = false |
| | Pass True to keep the original gift text, sender and receiver in the upgraded gift.
|
| std::int32_t | starCount = 0 |
| | The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
|
Arguments for Api::upgradeGift.
Definition at line 21231 of file Types.h.
◆ businessConnectionId
| std::string TgBot::UpgradeGiftArgs::businessConnectionId { } |
Unique identifier of the business connection.
Definition at line 21235 of file Types.h.
◆ keepOriginalDetails
| bool TgBot::UpgradeGiftArgs::keepOriginalDetails = false |
Pass True to keep the original gift text, sender and receiver in the upgraded gift.
Definition at line 21247 of file Types.h.
◆ ownedGiftId
| std::string TgBot::UpgradeGiftArgs::ownedGiftId { } |
Unique identifier of the regular gift that should be upgraded to a unique one.
Definition at line 21241 of file Types.h.
◆ starCount
| std::int32_t TgBot::UpgradeGiftArgs::starCount = 0 |
The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
Definition at line 21255 of file Types.h.
The documentation for this struct was generated from the following file: