Arguments for Api::transferGift.
More...
#include <Types.h>
|
| std::string | businessConnectionId { } |
| | Unique identifier of the business connection.
|
| std::int64_t | newOwnerChatId { } |
| | Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.
|
| std::string | ownedGiftId { } |
| | Unique identifier of the regular gift that should be transferred.
|
| std::int32_t | starCount = 0 |
| | The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.
|
Arguments for Api::transferGift.
Definition at line 21085 of file Types.h.
◆ businessConnectionId
| std::string TgBot::TransferGiftArgs::businessConnectionId { } |
Unique identifier of the business connection.
Definition at line 21089 of file Types.h.
◆ newOwnerChatId
| std::int64_t TgBot::TransferGiftArgs::newOwnerChatId { } |
Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.
Definition at line 21095 of file Types.h.
◆ ownedGiftId
| std::string TgBot::TransferGiftArgs::ownedGiftId { } |
Unique identifier of the regular gift that should be transferred.
Definition at line 21100 of file Types.h.
◆ starCount
| std::int32_t TgBot::TransferGiftArgs::starCount = 0 |
The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.
Definition at line 21107 of file Types.h.
The documentation for this struct was generated from the following file: