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

This object describes a TON wallet card, which is shown on the profile page of a user to everyone. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<TonWalletCard>

Public Attributes

std::string address { }
 Address of the wallet.
std::string amount { }
 Balance of the wallet, in the smallest units of the cryptocurrency, as a decimal number.
std::vector< std::shared_ptr< TonWalletCardSticker > > stickers { }
 Stickers placed on the card.
std::optional< std::string > backgroundNftAddress { }
 Optional. Address of the NFT of one of the stickers, whose colors must be used for the card background; omitted if the default background must be used.

Detailed Description

This object describes a TON wallet card, which is shown on the profile page of a user to everyone.

Definition at line 13657 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 13658 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::TonWalletCard::address { }

Address of the wallet.

Definition at line 13663 of file Types.h.

◆ amount

std::string TgBot::TonWalletCard::amount { }

Balance of the wallet, in the smallest units of the cryptocurrency, as a decimal number.

Definition at line 13667 of file Types.h.

◆ backgroundNftAddress

std::optional<std::string> TgBot::TonWalletCard::backgroundNftAddress { }

Optional. Address of the NFT of one of the stickers, whose colors must be used for the card background; omitted if the default background must be used.

Definition at line 13676 of file Types.h.

◆ stickers

std::vector<std::shared_ptr<TonWalletCardSticker> > TgBot::TonWalletCard::stickers { }

Stickers placed on the card.

Definition at line 13671 of file Types.h.


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