Class: TD::Types::StoryInteraction

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/story_interaction.rb

Overview

Represents interaction with a story.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#actor_idTD::Types::MessageSender

Identifier of the user or chat that made the interaction.

Returns:



9
10
11
# File 'lib/tdlib/types/story_interaction.rb', line 9

def actor_id
  @actor_id
end

#block_listTD::Types::BlockList?

Block list to which the actor is added; may be null if none or for chat stories.

Returns:



9
10
11
# File 'lib/tdlib/types/story_interaction.rb', line 9

def block_list
  @block_list
end

#interaction_dateInteger

Approximate point in time (Unix timestamp) when the interaction happened.

Returns:

  • (Integer)

    the current value of interaction_date



9
10
11
# File 'lib/tdlib/types/story_interaction.rb', line 9

def interaction_date
  @interaction_date
end

#typeTD::Types::StoryInteractionType

Type of the interaction.

Returns:



9
10
11
# File 'lib/tdlib/types/story_interaction.rb', line 9

def type
  @type
end