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

Inherits Object.

Description

Represents interaction with a story.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 storyInteraction ()
 storyInteraction (object_ptr< MessageSender > &&actor_id_, int32 interaction_date_, object_ptr< BlockList > &&block_list_, object_ptr< StoryInteractionType > &&type_)
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

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ storyInteraction() [1/2]

storyInteraction ( )

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.

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: