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

Describes a checklist to create. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputChecklist>

Public Attributes

std::string title { }
 Title of the checklist; 1-255 characters after entities parsing.
std::optional< std::string > parseMode { }
 Optional. Mode for parsing entities in the title. See formatting options for more details.
std::optional< std::vector< std::shared_ptr< MessageEntity > > > titleEntities { }
 Optional. List of special entities that appear in the title, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are allowed.
std::vector< std::shared_ptr< InputChecklistTask > > tasks { }
 List of 1-30 tasks in the checklist.
std::optional< bool > othersCanAddTasks { }
 Optional. Pass True if other users can add tasks to the checklist.
std::optional< bool > othersCanMarkTasksAsDone { }
 Optional. Pass True if other users can mark tasks as done or not done in the checklist.

Detailed Description

Describes a checklist to create.

Definition at line 6009 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::InputChecklist::Ptr = std::shared_ptr<InputChecklist>

Definition at line 6010 of file Types.h.

Member Data Documentation

◆ othersCanAddTasks

std::optional<bool> TgBot::InputChecklist::othersCanAddTasks { }

Optional. Pass True if other users can add tasks to the checklist.

Definition at line 6038 of file Types.h.

◆ othersCanMarkTasksAsDone

std::optional<bool> TgBot::InputChecklist::othersCanMarkTasksAsDone { }

Optional. Pass True if other users can mark tasks as done or not done in the checklist.

Definition at line 6043 of file Types.h.

◆ parseMode

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

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

Definition at line 6021 of file Types.h.

◆ tasks

std::vector<std::shared_ptr<InputChecklistTask> > TgBot::InputChecklist::tasks { }

List of 1-30 tasks in the checklist.

Definition at line 6033 of file Types.h.

◆ title

std::string TgBot::InputChecklist::title { }

Title of the checklist; 1-255 characters after entities parsing.

Definition at line 6015 of file Types.h.

◆ titleEntities

std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InputChecklist::titleEntities { }

Optional. List of special entities that appear in the title, 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 6028 of file Types.h.


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