Telegram::Video
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: Video This object represents a video file.
Constructors
new(file_id : String, file_unique_id : String, width : Int64, height : Int64, duration : Int64, thumbnail : PhotoSize | Nil = nil, cover : Array(PhotoSize) | Nil = nil, start_timestamp : Int64 | Nil = nil, file_name : String | Nil = nil, mime_type : String | Nil = nil, file_size : Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(file_id _file_id = @file_id, file_unique_id _file_unique_id = @file_unique_id, width _width = @width, height _height = @height, duration _duration = @duration, thumbnail _thumbnail = @thumbnail, cover _cover = @cover, start_timestamp _start_timestamp = @start_timestamp, file_name _file_name = @file_name, mime_type _mime_type = @mime_type, file_size _file_size = @file_size)
Sourcecover
duration
file_id
file_name
file_size
file_unique_id
height
mime_type
start_timestamp
thumbnail
width