Class: TD::Types::InputStoryArea

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

Overview

Describes a clickable rectangle area on a story media to be added.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#positionTD::Types::StoryAreaPosition

Position of the area.

Returns:



6
7
8
# File 'lib/tdlib/types/input_story_area.rb', line 6

def position
  @position
end

#typeTD::Types::InputStoryAreaType

Type of the area.

Returns:



6
7
8
# File 'lib/tdlib/types/input_story_area.rb', line 6

def type
  @type
end