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
4
#include "
tgbot/types/LabeledPrice.h
"
5
6
#include <string>
7
#include <memory>
8
#include <vector>
9
10
namespace
TgBot
{
11
19
class
ShippingOption
{
20
public
:
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
LabeledPrice.h
TgBot::ShippingOption
This object represents one shipping option.
Definition
ShippingOption.h:19
TgBot::ShippingOption::title
std::string title
Option title.
Definition
ShippingOption.h:31
TgBot::ShippingOption::prices
std::vector< LabeledPrice::Ptr > prices
List of price options.
Definition
ShippingOption.h:36
TgBot::ShippingOption::id
std::string id
Shipping option identifier.
Definition
ShippingOption.h:26
TgBot::ShippingOption::Ptr
std::shared_ptr< ShippingOption > Ptr
Definition
ShippingOption.h:21
TgBot
Definition
Api.h:40
include
tgbot
types
ShippingOption.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0