Class: TD::Types::InputInlineQueryResult::Audio
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::Audio
- Defined in:
- lib/tdlib/types/input_inline_query_result/audio.rb
Overview
Represents a link to an MP3 audio file.
Instance Attribute Summary collapse
-
#audio_duration ⇒ Integer
Audio file duration, in seconds.
-
#audio_url ⇒ TD::Types::String
The URL of the audio file.
-
#id ⇒ TD::Types::String
Unique identifier of the query result.
-
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent.
-
#performer ⇒ TD::Types::String
Performer of the audio file.
-
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup.
-
#title ⇒ TD::Types::String
Title of the audio file.
Method Summary
Methods inherited from Base
Instance Attribute Details
#audio_duration ⇒ Integer
Audio file duration, in seconds.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def audio_duration @audio_duration end |
#audio_url ⇒ TD::Types::String
The URL of the audio file.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def audio_url @audio_url end |
#id ⇒ TD::Types::String
Unique identifier of the query result.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def id @id end |
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAudio, inputMessageInvoice, inputMessageLocation, TD::Types::InputMessageContent::Venue or inputMessageContact.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def @input_message_content end |
#performer ⇒ TD::Types::String
Performer of the audio file.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def performer @performer end |
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def reply_markup @reply_markup end |
#title ⇒ TD::Types::String
Title of the audio file.
14 15 16 |
# File 'lib/tdlib/types/input_inline_query_result/audio.rb', line 14 def title @title end |