Class: Telegram::Bot::Types::StoryArea
- Defined in:
- sig/telegram/bot/types/story_area.rbs
Instance Attribute Summary collapse
-
#position ⇒ StoryAreaPosition
readonly
Returns the value of attribute position.
-
#type ⇒ story_area_type
readonly
Returns the value of attribute type.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#position ⇒ StoryAreaPosition (readonly)
Returns the value of attribute position.
8 9 10 |
# File 'sig/telegram/bot/types/story_area.rbs', line 8 def position @position end |
#type ⇒ story_area_type (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'sig/telegram/bot/types/story_area.rbs', line 9 def type @type end |
Class Method Details
.new(position:, type:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/story_area.rbs', line 6
def self.new: (position: StoryAreaPosition, type: story_area_type) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|