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

Describes an amount of Telegram Stars. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<StarAmount>

Public Attributes

std::int32_t amount { }
 Integer amount of Telegram Stars, rounded to 0; can be negative.
std::optional< std::int32_t > nanostarAmount { }
 Optional. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if amount is non-positive.

Detailed Description

Describes an amount of Telegram Stars.

Definition at line 13263 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 13264 of file Types.h.

Member Data Documentation

◆ amount

std::int32_t TgBot::StarAmount::amount { }

Integer amount of Telegram Stars, rounded to 0; can be negative.

Definition at line 13269 of file Types.h.

◆ nanostarAmount

std::optional<std::int32_t> TgBot::StarAmount::nanostarAmount { }

Optional. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if amount is non-positive.

Definition at line 13275 of file Types.h.


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