TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
updateMessageContainsUnreadPollVotes Class Referencefinal

Inherits Update.

Description

Unread votes were added or removed from a poll message.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 
 updateMessageContainsUnreadPollVotes ()
 
 updateMessageContainsUnreadPollVotes (int53 chat_id_, int53 message_id_, bool contains_unread_poll_votes_, int32 unread_poll_vote_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_
 Chat identifier.
 
bool contains_unread_poll_votes_
 True, if the message is a poll message with unread votes.
 
int53 message_id_
 Message identifier.
 
int32 unread_poll_vote_count_
 The new number of messages with unread poll votes in the chat.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateMessageContainsUnreadPollVotes() [1/2]

Unread votes were added or removed from a poll message.

◆ updateMessageContainsUnreadPollVotes() [2/2]

updateMessageContainsUnreadPollVotes ( int53  chat_id_,
int53  message_id_,
bool  contains_unread_poll_votes_,
int32  unread_poll_vote_count_ 
)

Unread votes were added or removed from a poll message.

Parameters
[in]chat_id_Chat identifier.
[in]message_id_Message identifier.
[in]contains_unread_poll_votes_True, if the message is a poll message with unread votes.
[in]unread_poll_vote_count_The new number of messages with unread poll votes in the chat.

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: