Class: Telegram::Bot::Types::InputStoryContentVideo
- Defined in:
- sig/telegram/bot/types/input_story_content_video.rbs
Instance Attribute Summary collapse
-
#cover_frame_timestamp ⇒ Float
readonly
Returns the value of attribute cover_frame_timestamp.
-
#duration ⇒ Float?
readonly
Returns the value of attribute duration.
-
#is_animation ⇒ Boolean?
readonly
Returns the value of attribute is_animation.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#video ⇒ String
readonly
Returns the value of attribute video.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#cover_frame_timestamp ⇒ Float (readonly)
Returns the value of attribute cover_frame_timestamp.
11 12 13 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 11 def @cover_frame_timestamp end |
#duration ⇒ Float? (readonly)
Returns the value of attribute duration.
10 11 12 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 10 def duration @duration end |
#is_animation ⇒ Boolean? (readonly)
Returns the value of attribute is_animation.
12 13 14 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 12 def is_animation @is_animation end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 8 def type @type end |
#video ⇒ String (readonly)
Returns the value of attribute video.
9 10 11 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 9 def video @video end |
Class Method Details
.new(type:, video:, duration:, cover_frame_timestamp:, is_animation:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/input_story_content_video.rbs', line 6
def self.new: (?type: String, video: String, ?duration: Float, ?cover_frame_timestamp: Float, ?is_animation: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|