|
TDLib
|
Inherits Object.
Describes a checklist.
Public Member Functions | |
| checklist () | |
| checklist (object_ptr< formattedText > &&title_, array< object_ptr< checklistTask > > &&tasks_, bool others_can_add_tasks_, bool can_add_tasks_, bool others_can_mark_tasks_as_done_, bool can_mark_tasks_as_done_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| bool | can_add_tasks_ |
| True, if the current user can add tasks to the list if they have Telegram Premium subscription. | |
| bool | can_mark_tasks_as_done_ |
| True, if the current user can mark tasks as done or not done if they have Telegram Premium subscription. | |
| bool | others_can_add_tasks_ |
| True, if users other than creator of the list can add tasks to the list. | |
| bool | others_can_mark_tasks_as_done_ |
| True, if users other than creator of the list can mark tasks as done or not done. If true, then the checklist is called "group checklist". | |
| array< object_ptr< checklistTask > > | tasks_ |
| List of tasks in the checklist. | |
| object_ptr< formattedText > | title_ |
| Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities. | |
Static Public Attributes | |
| static const std::int32_t | ID = -987598247 |
| Identifier uniquely determining a type of the object. | |
| checklist | ( | ) |
Describes a checklist.
| checklist | ( | object_ptr< formattedText > && | title_, |
| array< object_ptr< checklistTask > > && | tasks_, | ||
| bool | others_can_add_tasks_, | ||
| bool | can_add_tasks_, | ||
| bool | others_can_mark_tasks_as_done_, | ||
| bool | can_mark_tasks_as_done_ ) |
Describes a checklist.
| [in] | title_ | Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities. |
| [in] | tasks_ | List of tasks in the checklist. |
| [in] | others_can_add_tasks_ | True, if users other than creator of the list can add tasks to the list. |
| [in] | can_add_tasks_ | True, if the current user can add tasks to the list if they have Telegram Premium subscription. |
| [in] | others_can_mark_tasks_as_done_ | True, if users other than creator of the list can mark tasks as done or not done. If true, then the checklist is called "group checklist". |
| [in] | can_mark_tasks_as_done_ | True, if the current user can mark tasks as done or not done if they have Telegram Premium subscription. |
|
finalvirtual |