UpgradedGift
Object Hierarchy:
Description:
public class UpgradedGift :
Error
Describes an upgraded gift that can be transferred to another owner or transferred to the TON blockchain as an NFT
Content:
Properties:
- public UpgradedGiftBackdrop backdrop { get; set construct; }
Backdrop of the upgraded gift
- public string gift_address { get; set construct; }
Address of the gift NFT in TON blockchain; may be empty if none.
Append the address to getOption("ton_blockchain_explorer_url") to get a link with information about the address
- public int64 id_ { get; set construct; }
Unique identifier of the gift
- public int32 max_upgraded_count { get; set construct; }
The maximum number of gifts that can be upgraded from the same gift
- public UpgradedGiftModel model { get; set construct; }
Model of the upgraded gift
- public string name { get; set construct; }
- public int32 number { get; set construct; }
Unique number of the upgraded gift among gifts upgraded from the same
gift
- public UpgradedGiftOriginalDetails? original_details { get; set construct; }
Information about the originally sent gift; may be null if unknown
- public string owner_address { get; set construct; }
Address of the gift NFT owner in TON blockchain; may be empty if none.
Append the address to getOption("ton_blockchain_explorer_url") to get a link with information about the address
- public MessageSender? owner_id { get; set construct; }
Identifier of the user or the chat that owns the upgraded gift; may be
null if none or unknown
- public string owner_name { get; set construct; }
Name of the owner for the case when owner identifier and address
aren't known
- public int64 resale_star_count { get; set construct; }
Number of Telegram Stars that must be paid to buy the gift and send it
to someone else; 0 if resale isn't possible
- public UpgradedGiftSymbol symbol { get; set construct; }
Symbol of the upgraded gift
- public string title { get; set construct; }
The title of the upgraded gift
- public int32 total_upgraded_count { get; set construct; }
Total number of gifts that were upgraded from the same gift
Creation methods:
- public UpgradedGift (int64 id_, string title, string name, int32 number, int32 total_upgraded_count, int32 max_upgraded_count, MessageSender? owner_id, string owner_address, string owner_name, string gift_address, UpgradedGiftModel model, UpgradedGiftSymbol symbol, UpgradedGiftBackdrop backdrop, UpgradedGiftOriginalDetails? original_details, int64 resale_star_count)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref