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::chatStatisticsInteractionInfo Class Referencefinal

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

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

Public Member Functions

 chatStatisticsInteractionInfo ()
 
 chatStatisticsInteractionInfo (object_ptr< ChatStatisticsObjectType > &&object_type_, int32 view_count_, int32 forward_count_, int32 reaction_count_)
 
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

object_ptr< ChatStatisticsObjectTypeobject_type_
 Type of the object.
 
int32 view_count_
 Number of times the object was viewed.
 
int32 forward_count_
 Number of times the object was forwarded.
 
int32 reaction_count_
 Number of times reactions were added to the object.
 

Static Public Attributes

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

Detailed Description

Contains statistics about interactions with a message sent in the chat or a story posted on behalf of the chat.

Definition at line 15916 of file td_api.h.

Constructor & Destructor Documentation

◆ chatStatisticsInteractionInfo() [1/2]

td::td_api::chatStatisticsInteractionInfo::chatStatisticsInteractionInfo ( )

Contains statistics about interactions with a message sent in the chat or a story posted on behalf of the chat.

◆ chatStatisticsInteractionInfo() [2/2]

td::td_api::chatStatisticsInteractionInfo::chatStatisticsInteractionInfo ( object_ptr< ChatStatisticsObjectType > &&  object_type_,
int32  view_count_,
int32  forward_count_,
int32  reaction_count_ 
)

Contains statistics about interactions with a message sent in the chat or a story posted on behalf of the chat.

Parameters
[in]object_type_Type of the object.
[in]view_count_Number of times the object was viewed.
[in]forward_count_Number of times the object was forwarded.
[in]reaction_count_Number of times reactions were added to the object.

Member Function Documentation

◆ store()

void td::td_api::chatStatisticsInteractionInfo::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::chatStatisticsInteractionInfo::forward_count_

Number of times the object was forwarded.

Definition at line 15931 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatStatisticsInteractionInfo::ID = 1766496909
static

Identifier uniquely determining a type of the object.

Definition at line 15951 of file td_api.h.

◆ object_type_

object_ptr<ChatStatisticsObjectType> td::td_api::chatStatisticsInteractionInfo::object_type_

Type of the object.

Definition at line 15927 of file td_api.h.

◆ reaction_count_

int32 td::td_api::chatStatisticsInteractionInfo::reaction_count_

Number of times reactions were added to the object.

Definition at line 15933 of file td_api.h.

◆ view_count_

int32 td::td_api::chatStatisticsInteractionInfo::view_count_

Number of times the object was viewed.

Definition at line 15929 of file td_api.h.


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