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

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

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

Public Member Functions

 directMessagesChatTopic ()
 
 directMessagesChatTopic (int53 chat_id_, int53 id_, object_ptr< MessageSender > &&sender_id_, int64 order_, bool can_send_unpaid_messages_, bool is_marked_as_unread_, int53 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int53 unread_reaction_count_, 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 chat_id_
 Identifier of the chat to which the topic belongs.
 
int53 id_
 Unique topic identifier.
 
object_ptr< MessageSendersender_id_
 Identifier of the user or chat that sends the messages to the topic.
 
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.
 
bool can_send_unpaid_messages_
 True, if the other party can send unpaid messages even if the chat has paid messages enabled.
 
bool is_marked_as_unread_
 True, if the topic is marked as unread.
 
int53 unread_count_
 Number of unread messages in the chat.
 
int53 last_read_inbox_message_id_
 Identifier of the last read incoming message.
 
int53 last_read_outbox_message_id_
 Identifier of the last read outgoing message.
 
int53 unread_reaction_count_
 Number of messages with unread reactions in the chat.
 
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 = 1778377757
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about a topic in a channel direct messages chat administered by the current user.

Definition at line 19121 of file td_api.h.

Constructor & Destructor Documentation

◆ directMessagesChatTopic() [1/2]

td::td_api::directMessagesChatTopic::directMessagesChatTopic ( )

Contains information about a topic in a channel direct messages chat administered by the current user.

◆ directMessagesChatTopic() [2/2]

td::td_api::directMessagesChatTopic::directMessagesChatTopic ( int53  chat_id_,
int53  id_,
object_ptr< MessageSender > &&  sender_id_,
int64  order_,
bool  can_send_unpaid_messages_,
bool  is_marked_as_unread_,
int53  unread_count_,
int53  last_read_inbox_message_id_,
int53  last_read_outbox_message_id_,
int53  unread_reaction_count_,
object_ptr< message > &&  last_message_,
object_ptr< draftMessage > &&  draft_message_ 
)

Contains information about a topic in a channel direct messages chat administered by the current user.

Parameters
[in]chat_id_Identifier of the chat to which the topic belongs.
[in]id_Unique topic identifier.
[in]sender_id_Identifier of the user or chat that sends the messages to the topic.
[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]can_send_unpaid_messages_True, if the other party can send unpaid messages even if the chat has paid messages enabled.
[in]is_marked_as_unread_True, if the topic is marked as unread.
[in]unread_count_Number of unread messages in the chat.
[in]last_read_inbox_message_id_Identifier of the last read incoming message.
[in]last_read_outbox_message_id_Identifier of the last read outgoing message.
[in]unread_reaction_count_Number of messages with unread reactions in the chat.
[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::directMessagesChatTopic::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_send_unpaid_messages_

bool td::td_api::directMessagesChatTopic::can_send_unpaid_messages_

True, if the other party can send unpaid messages even if the chat has paid messages enabled.

Definition at line 19140 of file td_api.h.

◆ chat_id_

int53 td::td_api::directMessagesChatTopic::chat_id_

Identifier of the chat to which the topic belongs.

Definition at line 19132 of file td_api.h.

◆ draft_message_

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

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

Definition at line 19154 of file td_api.h.

◆ ID

const std::int32_t td::td_api::directMessagesChatTopic::ID = 1778377757
static

Identifier uniquely determining a type of the object.

Definition at line 19180 of file td_api.h.

◆ id_

int53 td::td_api::directMessagesChatTopic::id_

Unique topic identifier.

Definition at line 19134 of file td_api.h.

◆ is_marked_as_unread_

bool td::td_api::directMessagesChatTopic::is_marked_as_unread_

True, if the topic is marked as unread.

Definition at line 19142 of file td_api.h.

◆ last_message_

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

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

Definition at line 19152 of file td_api.h.

◆ last_read_inbox_message_id_

int53 td::td_api::directMessagesChatTopic::last_read_inbox_message_id_

Identifier of the last read incoming message.

Definition at line 19146 of file td_api.h.

◆ last_read_outbox_message_id_

int53 td::td_api::directMessagesChatTopic::last_read_outbox_message_id_

Identifier of the last read outgoing message.

Definition at line 19148 of file td_api.h.

◆ order_

int64 td::td_api::directMessagesChatTopic::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 19138 of file td_api.h.

◆ sender_id_

object_ptr<MessageSender> td::td_api::directMessagesChatTopic::sender_id_

Identifier of the user or chat that sends the messages to the topic.

Definition at line 19136 of file td_api.h.

◆ unread_count_

int53 td::td_api::directMessagesChatTopic::unread_count_

Number of unread messages in the chat.

Definition at line 19144 of file td_api.h.

◆ unread_reaction_count_

int53 td::td_api::directMessagesChatTopic::unread_reaction_count_

Number of messages with unread reactions in the chat.

Definition at line 19150 of file td_api.h.


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