|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a task to add to a checklist. https://core.telegram.org/bots/api#inputchecklisttask. More...
#include <InputChecklistTask.hpp>
Public Member Functions | |
| InputChecklistTask ()=default | |
| InputChecklistTask (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 | id {} |
| Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist. | |
| std::string | text |
| Text of the task; 1-100 characters after entities parsing. | |
| std::string | parseMode |
| Optional. Mode for parsing entities in the text. See formatting options for more details. | |
| std::vector< Ptr< MessageEntity > > | textEntities |
| Optional. List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed. | |
Describes a task to add to a checklist. https://core.telegram.org/bots/api#inputchecklisttask.
Definition at line 9 of file InputChecklistTask.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file InputChecklistTask.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 40 of file InputChecklistTask.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 30 of file InputChecklistTask.hpp.
| std::int32_t tgbotxx::InputChecklistTask::id {} |
Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.
Definition at line 16 of file InputChecklistTask.hpp.
| std::string tgbotxx::InputChecklistTask::parseMode |
Optional. Mode for parsing entities in the text. See formatting options for more details.
Definition at line 22 of file InputChecklistTask.hpp.
| std::string tgbotxx::InputChecklistTask::text |
Text of the task; 1-100 characters after entities parsing.
Definition at line 19 of file InputChecklistTask.hpp.
| std::vector<Ptr<MessageEntity> > tgbotxx::InputChecklistTask::textEntities |
Optional. List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.
Definition at line 26 of file InputChecklistTask.hpp.