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

Inherits Object.

Description

Contains statistics about interactions with a message sent in the chat or a story sent by the chat.

Public Fields

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.
 

Public Instance Methods

 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 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 = 1766496909
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ chatStatisticsInteractionInfo() [1/2]

Contains statistics about interactions with a message sent in the chat or a story sent by 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 sent by 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.

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