|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes an interval of time during which a business is open. https://core.telegram.org/bots/api#businessopeninghoursinterval. More...
#include <BusinessOpeningHoursInterval.hpp>
Public Member Functions | |
| BusinessOpeningHoursInterval ()=default | |
| BusinessOpeningHoursInterval (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::int32_t | openingMinute {} |
| The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60. | |
| std::int32_t | closingMinute {} |
| The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60. | |
Describes an interval of time during which a business is open. https://core.telegram.org/bots/api#businessopeninghoursinterval.
Definition at line 7 of file BusinessOpeningHoursInterval.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file BusinessOpeningHoursInterval.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 29 of file BusinessOpeningHoursInterval.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 21 of file BusinessOpeningHoursInterval.hpp.
| std::int32_t tgbotxx::BusinessOpeningHoursInterval::closingMinute {} |
The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60.
Definition at line 17 of file BusinessOpeningHoursInterval.hpp.
| std::int32_t tgbotxx::BusinessOpeningHoursInterval::openingMinute {} |
The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60.
Definition at line 14 of file BusinessOpeningHoursInterval.hpp.