struct

Telegram::Animation

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

Constructors

new(file_id : String, file_unique_id : String, width : Int64, height : Int64, duration : Int64, thumbnail : PhotoSize | Nil = nil, file_name : String | Nil = nil, mime_type : String | Nil = nil, file_size : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_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, file_name _file_name = @file_name, mime_type _mime_type = @mime_type, file_size _file_size = @file_size)
Source
duration
file_id
file_name
file_size
file_unique_id
height
mime_type
thumbnail
width