struct

Telegram::VideoNote

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: VideoNote This object represents a video message (available in Telegram apps as of v.4.0).

Constructors

new(file_id : String, file_unique_id : String, length : Int64, duration : Int64, thumbnail : PhotoSize | 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, length _length = @length, duration _duration = @duration, thumbnail _thumbnail = @thumbnail, file_size _file_size = @file_size)
Source
duration
file_id
file_size
file_unique_id
length
thumbnail