From ce9bcf9d653a0598b41fcf52708d01b396c6fd30 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 27 May 2018 22:44:51 +0300 Subject: Update README.md and docs --- docs/class_tg_bot_1_1_labeled_price.html | 186 +++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 docs/class_tg_bot_1_1_labeled_price.html (limited to 'docs/class_tg_bot_1_1_labeled_price.html') diff --git a/docs/class_tg_bot_1_1_labeled_price.html b/docs/class_tg_bot_1_1_labeled_price.html new file mode 100644 index 0000000..0a44b4b --- /dev/null +++ b/docs/class_tg_bot_1_1_labeled_price.html @@ -0,0 +1,186 @@ + + + + + + + +tgbot-cpp: TgBot::LabeledPrice Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::LabeledPrice Class Reference
+
+
+ +

This object represents a portion of the price for goods or services. + More...

+ +

#include <LabeledPrice.h>

+ + + + +

+Public Types

typedef std::shared_ptr< LabeledPricePtr
 
+ + + + + + + +

+Public Attributes

std::string label
 Portion label. More...
 
int32_t amount
 Price of the product in the smallest units of the currency (integer, not float/double). More...
 
+

Detailed Description

+

This object represents a portion of the price for goods or services.

+

https://core.telegram.org/bots/api#labeledprice

+ +

Definition at line 19 of file LabeledPrice.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<LabeledPrice> TgBot::LabeledPrice::Ptr
+
+ +

Definition at line 21 of file LabeledPrice.h.

+ +
+
+

Member Data Documentation

+ +

◆ amount

+ +
+
+ + + + +
int32_t TgBot::LabeledPrice::amount
+
+ +

Price of the product in the smallest units of the currency (integer, not float/double).

+

For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

+

https://core.telegram.org/bots/payments/currencies.json

+ +

Definition at line 38 of file LabeledPrice.h.

+ +
+
+ +

◆ label

+ +
+
+ + + + +
std::string TgBot::LabeledPrice::label
+
+ +

Portion label.

+ +

Definition at line 26 of file LabeledPrice.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.3