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

Inherits Update.

Description

Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateTopicMessageCount ()
 updateTopicMessageCount (int53 chat_id_, object_ptr< MessageTopic > &&topic_id_, int32 message_count_)
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_
 Identifier of the chat in topic of which the number of messages has changed.
int32 message_count_
 Approximate number of messages in the topic.
object_ptr< MessageTopic > topic_id_
 Identifier of the topic.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateTopicMessageCount() [1/2]

updateTopicMessageCount ( )

Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only.

◆ updateTopicMessageCount() [2/2]

updateTopicMessageCount ( int53 chat_id_,
object_ptr< MessageTopic > && topic_id_,
int32 message_count_ )

Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only.

Parameters
[in]chat_id_Identifier of the chat in topic of which the number of messages has changed.
[in]topic_id_Identifier of the topic.
[in]message_count_Approximate number of messages in the topic.

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: