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

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

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

Public Member Functions

 checklistTask ()
 
 checklistTask (int32 id_, object_ptr< formattedText > &&text_, object_ptr< MessageSender > &&completed_by_, int32 completion_date_)
 
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

int32 id_
 Unique identifier of the task.
 
object_ptr< formattedTexttext_
 Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.
 
object_ptr< MessageSendercompleted_by_
 Identifier of the user or chat that completed the task; may be null if the task isn&#x27;t completed yet.
 
int32 completion_date_
 Point in time (Unix timestamp) when the task was completed; 0 if the task isn&#x27;t completed.
 

Static Public Attributes

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

Detailed Description

Describes a task in a checklist.

Definition at line 16785 of file td_api.h.

Constructor & Destructor Documentation

◆ checklistTask() [1/2]

td::td_api::checklistTask::checklistTask ( )

Describes a task in a checklist.

◆ checklistTask() [2/2]

td::td_api::checklistTask::checklistTask ( int32  id_,
object_ptr< formattedText > &&  text_,
object_ptr< MessageSender > &&  completed_by_,
int32  completion_date_ 
)

Describes a task in a checklist.

Parameters
[in]id_Unique identifier of the task.
[in]text_Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.
[in]completed_by_Identifier of the user or chat that completed the task; may be null if the task isn&#x27;t completed yet.
[in]completion_date_Point in time (Unix timestamp) when the task was completed; 0 if the task isn&#x27;t completed.

Member Function Documentation

◆ store()

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

◆ completed_by_

object_ptr<MessageSender> td::td_api::checklistTask::completed_by_

Identifier of the user or chat that completed the task; may be null if the task isn&#x27;t completed yet.

Definition at line 16800 of file td_api.h.

◆ completion_date_

int32 td::td_api::checklistTask::completion_date_

Point in time (Unix timestamp) when the task was completed; 0 if the task isn&#x27;t completed.

Definition at line 16802 of file td_api.h.

◆ ID

const std::int32_t td::td_api::checklistTask::ID = 464950512
static

Identifier uniquely determining a type of the object.

Definition at line 16820 of file td_api.h.

◆ id_

int32 td::td_api::checklistTask::id_

Unique identifier of the task.

Definition at line 16796 of file td_api.h.

◆ text_

object_ptr<formattedText> td::td_api::checklistTask::text_

Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.

Definition at line 16798 of file td_api.h.


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