Class: TD::Types::InputMessageContent::Audio
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Audio
- Defined in:
- lib/tdlib/types/input_message_content/audio.rb
Overview
An audio message.
Instance Attribute Summary collapse
-
#album_cover_thumbnail ⇒ TD::Types::InputThumbnail?
Thumbnail of the cover for the album, if available.
-
#audio ⇒ TD::Types::InputFile
Audio file to be sent.
-
#caption ⇒ TD::Types::FormattedText
Audio caption; 0-GetOption(“message_caption_length_max”) characters.
-
#duration ⇒ Integer
Duration of the audio, in seconds; may be replaced by the server.
-
#performer ⇒ TD::Types::String
Performer of the audio; 0-64 characters, may be replaced by the server.
-
#title ⇒ TD::Types::String
Title of the audio; 0-64 characters; may be replaced by the server.
Method Summary
Methods inherited from Base
Instance Attribute Details
#album_cover_thumbnail ⇒ TD::Types::InputThumbnail?
Thumbnail of the cover for the album, if available.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def album_cover_thumbnail @album_cover_thumbnail end |
#audio ⇒ TD::Types::InputFile
Audio file to be sent.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def audio @audio end |
#caption ⇒ TD::Types::FormattedText
Audio caption; 0-GetOption(“message_caption_length_max”) characters.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def @caption end |
#duration ⇒ Integer
Duration of the audio, in seconds; may be replaced by the server.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def duration @duration end |
#performer ⇒ TD::Types::String
Performer of the audio; 0-64 characters, may be replaced by the server.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def performer @performer end |
#title ⇒ TD::Types::String
Title of the audio; 0-64 characters; may be replaced by the server.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/audio.rb', line 10 def title @title end |