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

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

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

Public Member Functions

 savedMessagesTopic ()
 
 savedMessagesTopic (int53 id_, object_ptr< SavedMessagesTopicType > &&type_, bool is_pinned_, int64 order_, object_ptr< message > &&last_message_, object_ptr< draftMessage > &&draft_message_)
 
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

int53 id_
 Unique topic identifier.
 
object_ptr< SavedMessagesTopicTypetype_
 Type of the topic.
 
bool is_pinned_
 True, if the topic is pinned.
 
int64 order_
 A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.
 
object_ptr< messagelast_message_
 Last message in the topic; may be null if none or unknown.
 
object_ptr< draftMessagedraft_message_
 A draft of a message in the topic; may be null if none.
 

Static Public Attributes

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

Detailed Description

Contains information about a Saved Messages topic.

Definition at line 61065 of file td_api.h.

Constructor & Destructor Documentation

◆ savedMessagesTopic() [1/2]

td::td_api::savedMessagesTopic::savedMessagesTopic ( )

Contains information about a Saved Messages topic.

◆ savedMessagesTopic() [2/2]

td::td_api::savedMessagesTopic::savedMessagesTopic ( int53  id_,
object_ptr< SavedMessagesTopicType > &&  type_,
bool  is_pinned_,
int64  order_,
object_ptr< message > &&  last_message_,
object_ptr< draftMessage > &&  draft_message_ 
)

Contains information about a Saved Messages topic.

Parameters
[in]id_Unique topic identifier.
[in]type_Type of the topic.
[in]is_pinned_True, if the topic is pinned.
[in]order_A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.
[in]last_message_Last message in the topic; may be null if none or unknown.
[in]draft_message_A draft of a message in the topic; may be null if none.

Member Function Documentation

◆ store()

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

◆ draft_message_

object_ptr<draftMessage> td::td_api::savedMessagesTopic::draft_message_

A draft of a message in the topic; may be null if none.

Definition at line 61086 of file td_api.h.

◆ ID

const std::int32_t td::td_api::savedMessagesTopic::ID = -760684124
static

Identifier uniquely determining a type of the object.

Definition at line 61106 of file td_api.h.

◆ id_

int53 td::td_api::savedMessagesTopic::id_

Unique topic identifier.

Definition at line 61076 of file td_api.h.

◆ is_pinned_

bool td::td_api::savedMessagesTopic::is_pinned_

True, if the topic is pinned.

Definition at line 61080 of file td_api.h.

◆ last_message_

object_ptr<message> td::td_api::savedMessagesTopic::last_message_

Last message in the topic; may be null if none or unknown.

Definition at line 61084 of file td_api.h.

◆ order_

int64 td::td_api::savedMessagesTopic::order_

A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.

Definition at line 61082 of file td_api.h.

◆ type_

object_ptr<SavedMessagesTopicType> td::td_api::savedMessagesTopic::type_

Type of the topic.

Definition at line 61078 of file td_api.h.


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