TDLib
Loading...
Searching...
No Matches
inputChecklist Class Referencefinal

Inherits Object.

Description

Describes a checklist to be sent.

Public Member Functions

 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 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 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.
array< object_ptr< inputChecklistTask > > tasks_
 List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.
object_ptr< formattedText > title_
 Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities.

Static Public Attributes

static const std::int32_t ID = -145125739
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ inputChecklist() [1/2]

inputChecklist ( )

Describes a checklist to be sent.

◆ inputChecklist() [2/2]

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.

Parameters
[in]title_Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime 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.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


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