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; 0-60.
-
#length ⇒ Integer
Video width and height; must be positive and not greater than 640.
-
#self_destruct_type ⇒ TD::Types::MessageSelfDestructType?
Video note self-destruct type; may be null if none; pass null if none; private chats only.
-
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.
-
#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; 0-60.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11 def duration @duration end |
#length ⇒ Integer
Video width and height; must be positive and not greater than 640.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11 def length @length end |
#self_destruct_type ⇒ TD::Types::MessageSelfDestructType?
Video note self-destruct type; may be null if none; pass null if none; private chats only.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11 def self_destruct_type @self_destruct_type end |
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11 def thumbnail @thumbnail end |
#video_note ⇒ TD::Types::InputFile
Video note to be sent.
11 12 13 |
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11 def video_note @video_note end |