TDLib
Loading...
Searching...
No Matches
updateForumTopic Class Referencefinal

Inherits Update.

Description

Information about a topic in a forum chat was changed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateForumTopic ()
 updateForumTopic (int53 chat_id_, int32 forum_topic_id_, bool is_pinned_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int32 unread_mention_count_, int32 unread_reaction_count_, int32 unread_poll_vote_count_, object_ptr< chatNotificationSettings > &&notification_settings_, object_ptr< draftMessage > &&draft_message_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int53 chat_id_
 Chat identifier.
object_ptr< draftMessage > draft_message_
 A draft of a message in the topic; may be null if none.
int32 forum_topic_id_
 Forum topic identifier of the topic.
bool is_pinned_
 True, if the topic is pinned in the topic list.
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.
object_ptr< chatNotificationSettings > notification_settings_
 Notification settings for the topic.
int32 unread_mention_count_
 Number of unread messages with a mention/reply in the topic.
int32 unread_poll_vote_count_
 Number of messages with unread poll votes in the topic.
int32 unread_reaction_count_
 Number of messages with unread reactions in the topic.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateForumTopic() [1/2]

updateForumTopic ( )

Information about a topic in a forum chat was changed.

◆ updateForumTopic() [2/2]

updateForumTopic ( int53 chat_id_,
int32 forum_topic_id_,
bool is_pinned_,
int53 last_read_inbox_message_id_,
int53 last_read_outbox_message_id_,
int32 unread_mention_count_,
int32 unread_reaction_count_,
int32 unread_poll_vote_count_,
object_ptr< chatNotificationSettings > && notification_settings_,
object_ptr< draftMessage > && draft_message_ )

Information about a topic in a forum chat was changed.

Parameters
[in]chat_id_Chat identifier.
[in]forum_topic_id_Forum topic identifier of the topic.
[in]is_pinned_True, if the topic is pinned in the topic list.
[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_mention_count_Number of unread messages with a mention/reply in the topic.
[in]unread_reaction_count_Number of messages with unread reactions in the topic.
[in]unread_poll_vote_count_Number of messages with unread poll votes in the topic.
[in]notification_settings_Notification settings for the topic.
[in]draft_message_A draft of a message in the topic; may be null if none.

Member Function Documentation

◆ store()

void 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 TlObject.


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