|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes the opening hours of a business. https://core.telegram.org/bots/api#businessopeninghours. More...
#include <BusinessOpeningHours.hpp>
Public Member Functions | |
| BusinessOpeningHours ()=default | |
| BusinessOpeningHours (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::string | timeZoneName |
| Unique name of the time zone for which the opening hours are defined. | |
| std::vector< Ptr< BusinessOpeningHoursInterval > > | openingHours |
| List of time intervals describing business opening hours. | |
Describes the opening hours of a business. https://core.telegram.org/bots/api#businessopeninghours.
Definition at line 8 of file BusinessOpeningHours.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file BusinessOpeningHours.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file BusinessOpeningHours.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file BusinessOpeningHours.hpp.
| std::vector<Ptr<BusinessOpeningHoursInterval> > tgbotxx::BusinessOpeningHours::openingHours |
List of time intervals describing business opening hours.
Definition at line 18 of file BusinessOpeningHours.hpp.
| std::string tgbotxx::BusinessOpeningHours::timeZoneName |
Unique name of the time zone for which the opening hours are defined.
Definition at line 15 of file BusinessOpeningHours.hpp.