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

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

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

Public Member Functions

 messageThreadInfo ()
 
 messageThreadInfo (int53 chat_id_, int53 message_thread_id_, object_ptr< messageReplyInfo > &&reply_info_, int32 unread_message_count_, array< object_ptr< message > > &&messages_, 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 chat_id_
 Identifier of the chat to which the message thread belongs.
 
int53 message_thread_id_
 Message thread identifier, unique within the chat.
 
object_ptr< messageReplyInforeply_info_
 Information about the message thread; may be null for forum topic threads.
 
int32 unread_message_count_
 Approximate number of unread messages in the message thread.
 
array< object_ptr< message > > messages_
 The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id).
 
object_ptr< draftMessagedraft_message_
 A draft of a message in the message thread; may be null if none.
 

Static Public Attributes

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

Detailed Description

Contains information about a message thread.

Definition at line 45654 of file td_api.h.

Constructor & Destructor Documentation

◆ messageThreadInfo() [1/2]

td::td_api::messageThreadInfo::messageThreadInfo ( )

Contains information about a message thread.

◆ messageThreadInfo() [2/2]

td::td_api::messageThreadInfo::messageThreadInfo ( int53  chat_id_,
int53  message_thread_id_,
object_ptr< messageReplyInfo > &&  reply_info_,
int32  unread_message_count_,
array< object_ptr< message > > &&  messages_,
object_ptr< draftMessage > &&  draft_message_ 
)

Contains information about a message thread.

Parameters
[in]chat_id_Identifier of the chat to which the message thread belongs.
[in]message_thread_id_Message thread identifier, unique within the chat.
[in]reply_info_Information about the message thread; may be null for forum topic threads.
[in]unread_message_count_Approximate number of unread messages in the message thread.
[in]messages_The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id).
[in]draft_message_A draft of a message in the message thread; may be null if none.

Member Function Documentation

◆ store()

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

◆ chat_id_

int53 td::td_api::messageThreadInfo::chat_id_

Identifier of the chat to which the message thread belongs.

Definition at line 45665 of file td_api.h.

◆ draft_message_

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

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

Definition at line 45675 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageThreadInfo::ID = -248536056
static

Identifier uniquely determining a type of the object.

Definition at line 45695 of file td_api.h.

◆ message_thread_id_

int53 td::td_api::messageThreadInfo::message_thread_id_

Message thread identifier, unique within the chat.

Definition at line 45667 of file td_api.h.

◆ messages_

array<object_ptr<message> > td::td_api::messageThreadInfo::messages_

The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id).

Definition at line 45673 of file td_api.h.

◆ reply_info_

object_ptr<messageReplyInfo> td::td_api::messageThreadInfo::reply_info_

Information about the message thread; may be null for forum topic threads.

Definition at line 45669 of file td_api.h.

◆ unread_message_count_

int32 td::td_api::messageThreadInfo::unread_message_count_

Approximate number of unread messages in the message thread.

Definition at line 45671 of file td_api.h.


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