From 3e5a28fa0a1ba2d461271f22399476c241bcffe3 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 22 Jun 2018 22:15:42 +0900 Subject: Regenerate docs --- docs/class_tg_bot_1_1_invoice.html | 264 +++++++++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 docs/class_tg_bot_1_1_invoice.html (limited to 'docs/class_tg_bot_1_1_invoice.html') diff --git a/docs/class_tg_bot_1_1_invoice.html b/docs/class_tg_bot_1_1_invoice.html new file mode 100644 index 0000000..7e0a8a8 --- /dev/null +++ b/docs/class_tg_bot_1_1_invoice.html @@ -0,0 +1,264 @@ + + + + + + +tgbot-cpp: TgBot::Invoice Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::Invoice Class Reference
+
+
+ +

This object contains basic information about an invoice. + More...

+ +

#include <Invoice.h>

+ + + + +

+Public Types

typedef std::shared_ptr< InvoicePtr
 
+ + + + + + + + + + + + + + + + +

+Public Attributes

std::string title
 Product name. More...
 
std::string description
 Product description. More...
 
std::string startParameter
 Unique bot deep-linking parameter that can be used to generate this invoice. More...
 
std::string currency
 Three-letter ISO 4217 currency code. More...
 
int32_t totalAmount
 Total price in the smallest units of the currency (integer, not float/double). More...
 
+

Detailed Description

+

This object contains basic information about an invoice.

+

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

+ +

Definition at line 39 of file Invoice.h.

+

Member Typedef Documentation

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

Definition at line 41 of file Invoice.h.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
std::string TgBot::Invoice::currency
+
+ +

Three-letter ISO 4217 currency code.

+ +

Definition at line 61 of file Invoice.h.

+ +
+
+ +
+
+ + + + +
std::string TgBot::Invoice::description
+
+ +

Product description.

+ +

Definition at line 51 of file Invoice.h.

+ +
+
+ +
+
+ + + + +
std::string TgBot::Invoice::startParameter
+
+ +

Unique bot deep-linking parameter that can be used to generate this invoice.

+ +

Definition at line 56 of file Invoice.h.

+ +
+
+ +
+
+ + + + +
std::string TgBot::Invoice::title
+
+ +

Product name.

+ +

Definition at line 46 of file Invoice.h.

+ +
+
+ +
+
+ + + + +
int32_t TgBot::Invoice::totalAmount
+
+ +

Total price 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 74 of file Invoice.h.

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