tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputChecklistTask Struct Reference

Describes a task to add to a checklist. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputChecklistTask>

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::optional< std::string > parseMode { }
 Optional. Mode for parsing entities in the text. See formatting options for more details.
std::optional< std::vector< std::shared_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, custom_emoji, and date_time entities are allowed.

Detailed Description

Describes a task to add to a checklist.

Definition at line 6053 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6054 of file Types.h.

Member Data Documentation

◆ id

std::int32_t TgBot::InputChecklistTask::id { }

Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist.

Definition at line 6060 of file Types.h.

◆ parseMode

std::optional<std::string> TgBot::InputChecklistTask::parseMode { }

Optional. Mode for parsing entities in the text. See formatting options for more details.

Definition at line 6071 of file Types.h.

◆ text

std::string TgBot::InputChecklistTask::text { }

Text of the task; 1-100 characters after entities parsing.

Definition at line 6065 of file Types.h.

◆ textEntities

std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::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, custom_emoji, and date_time entities are allowed.

Definition at line 6078 of file Types.h.


The documentation for this struct was generated from the following file: