#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| object_ptr< upgradedGift > | gift_ |
| | The upgraded gift.
|
| |
| string | received_gift_id_ |
| | Unique identifier of the received gift for the current user.
|
| |
| bool | is_saved_ |
| | True, if the gift is displayed on the user's or the channel's profile page.
|
| |
| bool | can_be_transferred_ |
| | True, if the gift can be transferred to another owner.
|
| |
| int53 | transfer_star_count_ |
| | Number of Telegram Stars that must be paid to transfer the upgraded gift.
|
| |
| int53 | drop_original_details_star_count_ |
| | Number of Telegram Stars that must be paid to drop original details of the upgraded gift; 0 if not available.
|
| |
| int32 | next_transfer_date_ |
| | Point in time (Unix timestamp) when the gift can be transferred to another owner; can be in the past; 0 if the gift can be transferred immediately or transfer isn't possible.
|
| |
| int32 | next_resale_date_ |
| | Point in time (Unix timestamp) when the gift can be resold to another user; can be in the past; 0 if the gift can't be resold; only for the receiver of the gift.
|
| |
| int32 | export_date_ |
| | Point in time (Unix timestamp) when the gift can be transferred to the TON blockchain as an NFT; can be in the past.
|
| |
|
| static const std::int32_t | ID = 965145418 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains result of gift upgrading.
Definition at line 83432 of file td_api.h.
◆ upgradeGiftResult() [1/2]
| td::td_api::upgradeGiftResult::upgradeGiftResult |
( |
| ) |
|
Contains result of gift upgrading.
◆ upgradeGiftResult() [2/2]
| td::td_api::upgradeGiftResult::upgradeGiftResult |
( |
object_ptr< upgradedGift > && |
gift_, |
|
|
string const & |
received_gift_id_, |
|
|
bool |
is_saved_, |
|
|
bool |
can_be_transferred_, |
|
|
int53 |
transfer_star_count_, |
|
|
int53 |
drop_original_details_star_count_, |
|
|
int32 |
next_transfer_date_, |
|
|
int32 |
next_resale_date_, |
|
|
int32 |
export_date_ |
|
) |
| |
Contains result of gift upgrading.
- Parameters
-
| [in] | gift_ | The upgraded gift. |
| [in] | received_gift_id_ | Unique identifier of the received gift for the current user. |
| [in] | is_saved_ | True, if the gift is displayed on the user's or the channel's profile page. |
| [in] | can_be_transferred_ | True, if the gift can be transferred to another owner. |
| [in] | transfer_star_count_ | Number of Telegram Stars that must be paid to transfer the upgraded gift. |
| [in] | drop_original_details_star_count_ | Number of Telegram Stars that must be paid to drop original details of the upgraded gift; 0 if not available. |
| [in] | next_transfer_date_ | Point in time (Unix timestamp) when the gift can be transferred to another owner; can be in the past; 0 if the gift can be transferred immediately or transfer isn't possible. |
| [in] | next_resale_date_ | Point in time (Unix timestamp) when the gift can be resold to another user; can be in the past; 0 if the gift can't be resold; only for the receiver of the gift. |
| [in] | export_date_ | Point in time (Unix timestamp) when the gift can be transferred to the TON blockchain as an NFT; can be in the past. |
◆ store()
| void td::td_api::upgradeGiftResult::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ can_be_transferred_
| bool td::td_api::upgradeGiftResult::can_be_transferred_ |
True, if the gift can be transferred to another owner.
Definition at line 83449 of file td_api.h.
◆ drop_original_details_star_count_
| int53 td::td_api::upgradeGiftResult::drop_original_details_star_count_ |
Number of Telegram Stars that must be paid to drop original details of the upgraded gift; 0 if not available.
Definition at line 83453 of file td_api.h.
◆ export_date_
| int32 td::td_api::upgradeGiftResult::export_date_ |
Point in time (Unix timestamp) when the gift can be transferred to the TON blockchain as an NFT; can be in the past.
Definition at line 83459 of file td_api.h.
◆ gift_
◆ ID
| const std::int32_t td::td_api::upgradeGiftResult::ID = 965145418 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 83482 of file td_api.h.
◆ is_saved_
| bool td::td_api::upgradeGiftResult::is_saved_ |
True, if the gift is displayed on the user's or the channel's profile page.
Definition at line 83447 of file td_api.h.
◆ next_resale_date_
| int32 td::td_api::upgradeGiftResult::next_resale_date_ |
Point in time (Unix timestamp) when the gift can be resold to another user; can be in the past; 0 if the gift can't be resold; only for the receiver of the gift.
Definition at line 83457 of file td_api.h.
◆ next_transfer_date_
| int32 td::td_api::upgradeGiftResult::next_transfer_date_ |
Point in time (Unix timestamp) when the gift can be transferred to another owner; can be in the past; 0 if the gift can be transferred immediately or transfer isn't possible.
Definition at line 83455 of file td_api.h.
◆ received_gift_id_
| string td::td_api::upgradeGiftResult::received_gift_id_ |
Unique identifier of the received gift for the current user.
Definition at line 83445 of file td_api.h.
◆ transfer_star_count_
| int53 td::td_api::upgradeGiftResult::transfer_star_count_ |
Number of Telegram Stars that must be paid to transfer the upgraded gift.
Definition at line 83451 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h