tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::inputChecklist Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::inputChecklist:
td::td_api::Object td::TlObject

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 td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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

Static Public Attributes

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

Detailed Description

Describes a checklist to be sent.

Definition at line 27500 of file td_api.h.

Constructor & Destructor Documentation

◆ inputChecklist() [1/2]

td::td_api::inputChecklist::inputChecklist ( )

Describes a checklist to be sent.

◆ inputChecklist() [2/2]

td::td_api::inputChecklist::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 td::td_api::inputChecklist::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::inputChecklist::ID = -145125739
static

Identifier uniquely determining a type of the object.

Definition at line 27535 of file td_api.h.

◆ others_can_add_tasks_

bool td::td_api::inputChecklist::others_can_add_tasks_

True, if other users can add tasks to the list.

Definition at line 27515 of file td_api.h.

◆ others_can_mark_tasks_as_done_

bool td::td_api::inputChecklist::others_can_mark_tasks_as_done_

True, if other users can mark tasks as done or not done.

Definition at line 27517 of file td_api.h.

◆ tasks_

array<object_ptr<inputChecklistTask> > td::td_api::inputChecklist::tasks_

List of tasks in the checklist; 1-getOption("checklist_task_count_max") tasks.

Definition at line 27513 of file td_api.h.

◆ title_

object_ptr<formattedText> td::td_api::inputChecklist::title_

Title of the checklist; 1-getOption("checklist_title_length_max") characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities.

Definition at line 27511 of file td_api.h.


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