class TelegramBot::InlineQueryResultAudio
Defined in:
telegram_bot/types/inline/inline_query_result_audio.crConstant Summary
-
FIELDS =
{type: {type: String, mustbe: "audio"}, id: String, audio_url: String, title: String, performer: {type: String, nilable: true}, audio_duration: {type: Int32, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}
Constructors
- .new(id : String, audio_url : String, title : String, performer : String | Nil = nil, audio_duration : Int32 | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
- .new(__temp_125 : 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)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
Constructor Detail
def self.new(id : String, audio_url : String, title : String, performer : String | Nil = nil, audio_duration : Int32 | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
#