Class: TD::Types::InputMessageContent::VideoNote
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::VideoNote
- Defined in:
- lib/tdlib/types/input_message_content/video_note.rb
Overview
A video note message.
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Duration of the video, in seconds.
-
#length ⇒ Integer
Video width and height; must be positive and not greater than 640.
-
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail, if available.
-
#video_note ⇒ TD::Types::InputFile
Video note to be sent.
Method Summary
Methods inherited from Base
Instance Attribute Details
#duration ⇒ Integer
Duration of the video, in seconds.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8 def duration @duration end |
#length ⇒ Integer
Video width and height; must be positive and not greater than 640.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8 def length @length end |
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail, if available.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8 def thumbnail @thumbnail end |
#video_note ⇒ TD::Types::InputFile
Video note to be sent.
8 9 10 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8 def video_note @video_note end |