Inherits Object.
Describes a checklist to be sent.
Public Fields | |
| object_ptr< formattedText > | title_ |
| Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. | |
| array< object_ptr< inputChecklistTask > > | tasks_ |
| List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks. | |
| bool | others_can_add_tasks_ |
| True, if other users can add tasks to the list. | |
| bool | others_can_mark_tasks_as_done_ |
| True, if other users can mark tasks as done or not done. | |
Public Instance Methods | |
| inputChecklist () | |
| inputChecklist (object_ptr< formattedText > &&title_, array< object_ptr< inputChecklistTask >> &&tasks_, bool others_can_add_tasks_, bool others_can_mark_tasks_as_done_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -145125739 |
| Identifier uniquely determining a type of the object. | |
| inputChecklist | ( | ) |
Describes a checklist to be sent.
| inputChecklist | ( | object_ptr< formattedText > && | title_, |
| array< object_ptr< inputChecklistTask >> && | tasks_, | ||
| bool | others_can_add_tasks_, | ||
| bool | others_can_mark_tasks_as_done_ | ||
| ) |
Describes a checklist to be sent.
| [in] | title_ | Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities. |
| [in] | tasks_ | List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks. |
| [in] | others_can_add_tasks_ | True, if other users can add tasks to the list. |
| [in] | others_can_mark_tasks_as_done_ | True, if other users can mark tasks as done or not done. |
|
finalvirtual |