tgbot-cpp
Loading...
Searching...
No Matches
TgBot::TonNft Struct Reference

This object represents an NFT in the TON blockchain. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<TonNft>

Public Attributes

std::string address { }
 Address of the NFT.
std::optional< std::string > collectionAddress { }
 Optional. Address of the collection to which the NFT belongs; omitted if unknown.
std::string index { }
 Index of the NFT among all NFTs from the collection as a decimal number.
std::string name { }
 Name of the NFT.
std::string description { }
 Description of the NFT.
std::optional< std::vector< std::shared_ptr< TonNftAttribute > > > attributes { }
 Optional. Attributes of the NFT.
std::shared_ptr< UniqueGift > gift { }
 Optional. The unique gift corresponding to the NFT.

Detailed Description

This object represents an NFT in the TON blockchain.

Definition at line 13596 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::TonNft::Ptr = std::shared_ptr<TonNft>

Definition at line 13597 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::TonNft::address { }

Address of the NFT.

Definition at line 13602 of file Types.h.

◆ attributes

std::optional<std::vector<std::shared_ptr<TonNftAttribute> > > TgBot::TonNft::attributes { }

Optional. Attributes of the NFT.

Definition at line 13622 of file Types.h.

◆ collectionAddress

std::optional<std::string> TgBot::TonNft::collectionAddress { }

Optional. Address of the collection to which the NFT belongs; omitted if unknown.

Definition at line 13606 of file Types.h.

◆ description

std::string TgBot::TonNft::description { }

Description of the NFT.

Definition at line 13618 of file Types.h.

◆ gift

std::shared_ptr<UniqueGift> TgBot::TonNft::gift { }

Optional. The unique gift corresponding to the NFT.

Definition at line 13626 of file Types.h.

◆ index

std::string TgBot::TonNft::index { }

Index of the NFT among all NFTs from the collection as a decimal number.

Definition at line 13610 of file Types.h.

◆ name

std::string TgBot::TonNft::name { }

Name of the NFT.

Definition at line 13614 of file Types.h.


The documentation for this struct was generated from the following file: