tgbot-cpp
Loading...
Searching...
No Matches
ShippingOption.h
Go to the documentation of this file.
1#ifndef TGBOT_SHIPPINGOPTION_H
2#define TGBOT_SHIPPINGOPTION_H
3
5
6#include <string>
7#include <memory>
8#include <vector>
9
10namespace TgBot {
11
20public:
21 typedef std::shared_ptr<ShippingOption> Ptr;
22
26 std::string id;
27
31 std::string title;
32
36 std::vector<LabeledPrice::Ptr> prices;
37};
38}
39
40#endif //TGBOT_SHIPPINGOPTION_H
This object represents one shipping option.
std::string title
Option title.
std::vector< LabeledPrice::Ptr > prices
List of price options.
std::string id
Shipping option identifier.
std::shared_ptr< ShippingOption > Ptr
Definition Api.h:39