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::checklist Class Referencefinal

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

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

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 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; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities.
 
array< object_ptr< checklistTask > > tasks_
 List of tasks in the checklist.
 
bool others_can_add_tasks_
 True, if users other than creator of the list can add tasks to the list.
 
bool can_add_tasks_
 True, if the current user can add tasks to the list if they have Telegram Premium subscription.
 
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".
 
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.
 

Static Public Attributes

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

Detailed Description

Describes a checklist.

Definition at line 16727 of file td_api.h.

Constructor & Destructor Documentation

◆ checklist() [1/2]

td::td_api::checklist::checklist ( )

Describes a checklist.

◆ checklist() [2/2]

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

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::checklist::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

◆ can_add_tasks_

bool td::td_api::checklist::can_add_tasks_

True, if the current user can add tasks to the list if they have Telegram Premium subscription.

Definition at line 16744 of file td_api.h.

◆ can_mark_tasks_as_done_

bool td::td_api::checklist::can_mark_tasks_as_done_

True, if the current user can mark tasks as done or not done if they have Telegram Premium subscription.

Definition at line 16748 of file td_api.h.

◆ ID

const std::int32_t td::td_api::checklist::ID = -987598247
static

Identifier uniquely determining a type of the object.

Definition at line 16768 of file td_api.h.

◆ others_can_add_tasks_

bool td::td_api::checklist::others_can_add_tasks_

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

Definition at line 16742 of file td_api.h.

◆ others_can_mark_tasks_as_done_

bool td::td_api::checklist::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".

Definition at line 16746 of file td_api.h.

◆ tasks_

array<object_ptr<checklistTask> > td::td_api::checklist::tasks_

List of tasks in the checklist.

Definition at line 16740 of file td_api.h.

◆ title_

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

Title of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities.

Definition at line 16738 of file td_api.h.


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