Sha256: 52bef33e5e5debb0c3900fabf8cbe8aa59c29df97eec4e2b0cb21c2f647afef2
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
module TD::Types # Describes an audio file. # Audio is usually in MP3 format. # # @attr duration [Integer] Duration of the audio, in seconds; as defined by the sender. # @attr title [String] Title of the audio; as defined by the sender. # @attr performer [String] Performer of the audio; as defined by the sender. # @attr file_name [String] Original name of the file; as defined by the sender. # @attr mime_type [String] The MIME type of the file; as defined by the sender. # @attr album_cover_minithumbnail [TD::Types::Minithumbnail, nil] The minithumbnail of the album cover; may be null. # @attr album_cover_thumbnail [TD::Types::PhotoSize, nil] The thumbnail of the album cover; as defined by the sender. # The full size thumbnail should be extracted from the downloaded file; may be null. # @attr audio [TD::Types::File] File containing the audio. class Audio < Base attribute :duration, TD::Types::Integer attribute :title, TD::Types::String attribute :performer, TD::Types::String attribute :file_name, TD::Types::String attribute :mime_type, TD::Types::String attribute :album_cover_minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :album_cover_thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :audio, TD::Types::File end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.1.0 | lib/tdlib/types/audio.rb |