class Tourmaline::InlineQueryResultAudio
Defined in:
tourmaline/models/inline/inline_query_result_audio.crConstructors
- .new(id : String, audio_url : String, title : String, performer : Nil | String = nil, audio_duration : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #audio_duration : Int32 | Nil
- #audio_url : String
- #id : String
- #input_message_content : InputMessageContent | Nil
- #performer : String | Nil
- #reply_markup : InlineKeyboardMarkup | Nil
- #title : String
- #type : String
Constructor methods inherited from class Tourmaline::InlineQueryResult
new(pull : JSON::PullParser)
new
Class methods inherited from class Tourmaline::InlineQueryResult
build(&)
build
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
Constructor Detail
def self.new(id : String, audio_url : String, title : String, performer : Nil | String = nil, audio_duration : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil)
#