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

Inherits Object.

Description

Represents interaction with a story.

Public Fields

object_ptr< MessageSenderactor_id_
 Identifier of the user or chat that made the interaction.
 
int32 interaction_date_
 Approximate point in time (Unix timestamp) when the interaction happened.
 
object_ptr< BlockListblock_list_
 Block list to which the actor is added; may be null if none or for chat stories.
 
object_ptr< StoryInteractionTypetype_
 Type of the interaction.
 

Public Instance Methods

 storyInteraction ()
 
 storyInteraction (object_ptr< MessageSender > &&actor_id_, int32 interaction_date_, object_ptr< BlockList > &&block_list_, object_ptr< StoryInteractionType > &&type_)
 
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 = -702229982
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ storyInteraction() [1/2]

Represents interaction with a story.

◆ storyInteraction() [2/2]

storyInteraction ( object_ptr< MessageSender > &&  actor_id_,
int32  interaction_date_,
object_ptr< BlockList > &&  block_list_,
object_ptr< StoryInteractionType > &&  type_ 
)

Represents interaction with a story.

Parameters
[in]actor_id_Identifier of the user or chat that made the interaction.
[in]interaction_date_Approximate point in time (Unix timestamp) when the interaction happened.
[in]block_list_Block list to which the actor is added; may be null if none or for chat stories.
[in]type_Type of the interaction.

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: