Describes a task in a checklist.
More...
#include <Types.h>
|
| std::int32_t | id { } |
| | Unique identifier of the task.
|
| std::string | text { } |
| | Text of the task.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | textEntities { } |
| | Optional. Special entities that appear in the task text.
|
| std::shared_ptr< User > | completedByUser { } |
| | Optional. User that completed the task; omitted if the task wasn't completed by a user.
|
| std::shared_ptr< Chat > | completedByChat { } |
| | Optional. Chat that completed the task; omitted if the task wasn't completed by a chat.
|
| std::optional< std::int32_t > | completionDate { } |
| | Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed.
|
Describes a task in a checklist.
Definition at line 3021 of file Types.h.
◆ Ptr
◆ completedByChat
| std::shared_ptr<Chat> TgBot::ChecklistTask::completedByChat { } |
Optional. Chat that completed the task; omitted if the task wasn't completed by a chat.
Definition at line 3047 of file Types.h.
◆ completedByUser
| std::shared_ptr<User> TgBot::ChecklistTask::completedByUser { } |
Optional. User that completed the task; omitted if the task wasn't completed by a user.
Definition at line 3042 of file Types.h.
◆ completionDate
| std::optional<std::int32_t> TgBot::ChecklistTask::completionDate { } |
Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed.
Definition at line 3053 of file Types.h.
◆ id
| std::int32_t TgBot::ChecklistTask::id { } |
Unique identifier of the task.
Definition at line 3027 of file Types.h.
◆ text
| std::string TgBot::ChecklistTask::text { } |
Text of the task.
Definition at line 3032 of file Types.h.
◆ textEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::ChecklistTask::textEntities { } |
Optional. Special entities that appear in the task text.
Definition at line 3037 of file Types.h.
The documentation for this struct was generated from the following file: