class TelegramBot::InlineQueryResultAudio

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_audio.cr

Constructors

Instance Method Summary

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) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def audio_duration : Int32 | Nil #

def audio_duration=(audio_duration : Int32 | Nil) #

def audio_url : String #

def audio_url=(audio_url : String) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def performer : String | Nil #

def performer=(performer : String | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def title : String #

def title=(title : String) #

def type : String #

def type=(type : String) #