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

Describes a checklist. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<Checklist>

Public Attributes

std::string title { }
 Title of the checklist.
std::optional< std::vector< std::shared_ptr< MessageEntity > > > titleEntities { }
 Optional. Special entities that appear in the checklist title.
std::vector< std::shared_ptr< ChecklistTask > > tasks { }
 List of tasks in the checklist.
std::optional< bool > othersCanAddTasks { }
 Optional. True, if users other than the creator of the list can add tasks to the list.
std::optional< bool > othersCanMarkTasksAsDone { }
 Optional. True, if users other than the creator of the list can mark tasks as done or not done.

Detailed Description

Describes a checklist.

Definition at line 2984 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 2985 of file Types.h.

Member Data Documentation

◆ othersCanAddTasks

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

Optional. True, if users other than the creator of the list can add tasks to the list.

Definition at line 3005 of file Types.h.

◆ othersCanMarkTasksAsDone

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

Optional. True, if users other than the creator of the list can mark tasks as done or not done.

Definition at line 3011 of file Types.h.

◆ tasks

std::vector<std::shared_ptr<ChecklistTask> > TgBot::Checklist::tasks { }

List of tasks in the checklist.

Definition at line 3000 of file Types.h.

◆ title

std::string TgBot::Checklist::title { }

Title of the checklist.

Definition at line 2990 of file Types.h.

◆ titleEntities

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

Optional. Special entities that appear in the checklist title.

Definition at line 2995 of file Types.h.


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