tgbot-cpp
ShippingOption.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_SHIPPINGOPTION_H
6 #define TGBOT_SHIPPINGOPTION_H
7 
8 #include <string>
9 #include <memory>
10 #include <vector>
12 
13 namespace TgBot {
14 
23 public:
24  typedef std::shared_ptr<ShippingOption> Ptr;
25 
29  std::string id;
30 
34  std::string title;
35 
39  std::vector<LabeledPrice::Ptr> prices;
40 };
41 }
42 
43 #endif //TGBOT_SHIPPINGOPTION_H
std::shared_ptr< ShippingOption > Ptr
Definition: Api.h:49
This object represents one shipping option.
std::string id
Shipping option identifier.
std::vector< LabeledPrice::Ptr > prices
List of price options.
std::string title
Option title.