This object contains basic information about an invoice.  
 More...
#include <Invoice.h>
|  | 
| std::string | title | 
|  | Product name. 
 | 
| std::string | description | 
|  | Product description. 
 | 
| std::string | startParameter | 
|  | Unique bot deep-linking parameter that can be used to generate this invoice. 
 | 
| std::string | currency | 
|  | Three-letter ISO 4217 currency code. 
 | 
| std::int32_t | totalAmount | 
|  | Total price in the smallest units of the currency (integer, not float/double). 
 | 
This object contains basic information about an invoice. 
https://core.telegram.org/bots/api#invoice 
Definition at line 17 of file Invoice.h.
◆ Ptr
◆ currency
      
        
          | std::string TgBot::Invoice::currency | 
      
 
Three-letter ISO 4217 currency code. 
Definition at line 39 of file Invoice.h.
 
 
◆ description
      
        
          | std::string TgBot::Invoice::description | 
      
 
Product description. 
Definition at line 29 of file Invoice.h.
 
 
◆ startParameter
      
        
          | std::string TgBot::Invoice::startParameter | 
      
 
Unique bot deep-linking parameter that can be used to generate this invoice. 
Definition at line 34 of file Invoice.h.
 
 
◆ title
      
        
          | std::string TgBot::Invoice::title | 
      
 
 
◆ totalAmount
      
        
          | std::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 52 of file Invoice.h.
 
 
The documentation for this class was generated from the following file: