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

This object describes a TON wallet of the user, which is used in a query from a widget. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<WidgetQueryWallet>

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::optional< std::string > publicKey { }
 Optional. Hex-encoded public key of the wallet; omitted if unknown.
std::optional< std::string > stateInit { }
 Optional. Base64-encoded serialized StateInit of the wallet contract; omitted if and only if public_key is omitted.

Detailed Description

This object describes a TON wallet of the user, which is used in a query from a widget.

Definition at line 15148 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 15149 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::WidgetQueryWallet::address { }

Address of the wallet.

Definition at line 15154 of file Types.h.

◆ amount

std::string TgBot::WidgetQueryWallet::amount { }

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

Definition at line 15158 of file Types.h.

◆ publicKey

std::optional<std::string> TgBot::WidgetQueryWallet::publicKey { }

Optional. Hex-encoded public key of the wallet; omitted if unknown.

Definition at line 15162 of file Types.h.

◆ stateInit

std::optional<std::string> TgBot::WidgetQueryWallet::stateInit { }

Optional. Base64-encoded serialized StateInit of the wallet contract; omitted if and only if public_key is omitted.

Definition at line 15167 of file Types.h.


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