TDLib
Loading...
Searching...
No Matches
chatStatisticsInteractionInfo Class Referencefinal

Inherits Object.

Description

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

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

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatStatisticsInteractionInfo() [1/2]

chatStatisticsInteractionInfo ( )

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

◆ chatStatisticsInteractionInfo() [2/2]

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