class TelegramBot::InlineQueryResultAudio
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/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 | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #audio_duration : Int32 | Nil
- #audio_duration=(audio_duration : Int32 | Nil)
- #audio_url : String
- #audio_url=(audio_url : String)
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #performer : String | Nil
- #performer=(performer : String | Nil)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #title : String
- #title=(title : String)
- #type : String
- #type=(type : String)
Constructor Detail
def self.new(id : String, audio_url : String, title : String, *, performer : Nil | String = nil, audio_duration : Int32 | Nil = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil)
#