tgbot-cpp
LabeledPrice.h
Go to the documentation of this file.
1 //
2 // Created by Maks Mazurov (fox.cpp) on 21.05.17.
3 //
4 
5 #ifndef TGBOT_LABELEDPRICE_H
6 #define TGBOT_LABELEDPRICE_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
19 class LabeledPrice {
20 public:
21  typedef std::shared_ptr<LabeledPrice> Ptr;
22 
26  std::string label;
27 
38  int32_t amount;
39 };
40 }
41 
42 #endif //TGBOT_LABELEDPRICE_H
std::shared_ptr< LabeledPrice > Ptr
Definition: LabeledPrice.h:21
Definition: Api.h:49
This object represents a portion of the price for goods or services.
Definition: LabeledPrice.h:19
std::string label
Portion label.
Definition: LabeledPrice.h:26
int32_t amount
Price of the product in the smallest units of the currency (integer, not float/double).
Definition: LabeledPrice.h:38