struct

Telegram::Audio

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: Audio This object represents an audio file to be treated as music by the Telegram clients.

Constructors

new(file_id : String, file_unique_id : String, duration : Int64, performer : String | Nil = nil, title : String | Nil = nil, file_name : String | Nil = nil, mime_type : String | Nil = nil, file_size : Int64 | Nil = nil, thumbnail : PhotoSize | 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, duration _duration = @duration, performer _performer = @performer, title _title = @title, file_name _file_name = @file_name, mime_type _mime_type = @mime_type, file_size _file_size = @file_size, thumbnail _thumbnail = @thumbnail)
Source
duration
file_id
file_name
file_size
file_unique_id
mime_type
performer
thumbnail
title