tgbot-cpp
Loading...
Searching...
No Matches
LabeledPrice.h
Go to the documentation of this file.
1#ifndef TGBOT_LABELEDPRICE_H
2#define TGBOT_LABELEDPRICE_H
3
4#include <cstdint>
5#include <string>
6#include <memory>
7
8namespace TgBot {
9
17public:
18 typedef std::shared_ptr<LabeledPrice> Ptr;
19
23 std::string label;
24
35 std::int32_t amount;
36};
37}
38
39#endif //TGBOT_LABELEDPRICE_H
This object represents a portion of the price for goods or services.
std::string label
Portion label.
std::shared_ptr< LabeledPrice > Ptr
std::int32_t amount
Price of the product in the smallest units of the currency (integer, not float/double).
Definition Api.h:39