tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageInteractionInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageInteractionInfo:
td::td_api::Object td::TlObject

Public Member Functions

 messageInteractionInfo ()
 
 messageInteractionInfo (int32 view_count_, int32 forward_count_, object_ptr< messageReplyInfo > &&reply_info_, object_ptr< messageReactions > &&reactions_)
 
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 view_count_
 Number of times the message was viewed.
 
int32 forward_count_
 Number of times the message was forwarded.
 
object_ptr< messageReplyInforeply_info_
 Information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself.
 
object_ptr< messageReactionsreactions_
 The list of reactions or tags added to the message; may be null.
 

Static Public Attributes

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

Detailed Description

Contains information about interactions with a message.

Definition at line 43752 of file td_api.h.

Constructor & Destructor Documentation

◆ messageInteractionInfo() [1/2]

td::td_api::messageInteractionInfo::messageInteractionInfo ( )

Contains information about interactions with a message.

◆ messageInteractionInfo() [2/2]

td::td_api::messageInteractionInfo::messageInteractionInfo ( int32  view_count_,
int32  forward_count_,
object_ptr< messageReplyInfo > &&  reply_info_,
object_ptr< messageReactions > &&  reactions_ 
)

Contains information about interactions with a message.

Parameters
[in]view_count_Number of times the message was viewed.
[in]forward_count_Number of times the message was forwarded.
[in]reply_info_Information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself.
[in]reactions_The list of reactions or tags added to the message; may be null.

Member Function Documentation

◆ store()

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

Member Data Documentation

◆ forward_count_

int32 td::td_api::messageInteractionInfo::forward_count_

Number of times the message was forwarded.

Definition at line 43765 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageInteractionInfo::ID = 733797893
static

Identifier uniquely determining a type of the object.

Definition at line 43787 of file td_api.h.

◆ reactions_

object_ptr<messageReactions> td::td_api::messageInteractionInfo::reactions_

The list of reactions or tags added to the message; may be null.

Definition at line 43769 of file td_api.h.

◆ reply_info_

object_ptr<messageReplyInfo> td::td_api::messageInteractionInfo::reply_info_

Information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself.

Definition at line 43767 of file td_api.h.

◆ view_count_

int32 td::td_api::messageInteractionInfo::view_count_

Number of times the message was viewed.

Definition at line 43763 of file td_api.h.


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