TDLib
Loading...
Searching...
No Matches
td::td_api::messageReplyInfo Class Referencefinal

Inherits td::td_api::Object.

Public Member Functions

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

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.
 

Static Public Attributes

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

Detailed Description

Contains information about replies to a message.

Constructor & Destructor Documentation

◆ messageReplyInfo() [1/2]

td::td_api::messageReplyInfo::messageReplyInfo ( )

Contains information about replies to a message.

◆ messageReplyInfo() [2/2]

td::td_api::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_ 
)

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.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::messageReplyInfo::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::messageReplyInfo::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.


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