List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageReplyInfo Class Referencefinal

Inherits Object.

Description

Contains information about replies to a message.

Public Fields

int32 reply_count_
 Number of times the message was directly or indirectly replied.
 
array< object_ptr< MessageSender > > recent_replier_ids_
 Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available.
 
int53 last_read_inbox_message_id_
 Identifier of the last read incoming reply to the message.
 
int53 last_read_outbox_message_id_
 Identifier of the last read outgoing reply to the message.
 
int53 last_message_id_
 Identifier of the last reply to the message.
 

Public Instance Methods

 messageReplyInfo ()
 
 messageReplyInfo (int32 reply_count_, array< object_ptr< MessageSender >> &&recent_replier_ids_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int53 last_message_id_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageReplyInfo() [1/2]

Contains information about replies to a message.

◆ messageReplyInfo() [2/2]

messageReplyInfo ( int32  reply_count_,
array< object_ptr< MessageSender >> &&  recent_replier_ids_,
int53  last_read_inbox_message_id_,
int53  last_read_outbox_message_id_,
int53  last_message_id_ 
)

Contains information about replies to a message.

Parameters
[in]reply_count_Number of times the message was directly or indirectly replied.
[in]recent_replier_ids_Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available.
[in]last_read_inbox_message_id_Identifier of the last read incoming reply to the message.
[in]last_read_outbox_message_id_Identifier of the last read outgoing reply to the message.
[in]last_message_id_Identifier of the last reply to the message.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ 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: