class TelegramBot::InlineQueryResultVoice

Included Modules

Defined in:

telegram_bot/types/inline/inline_query_result_voice.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, voice_url : String, title : String, *, caption : Nil | String = nil, parse_mode : Nil | String = nil, voice_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 caption : String | Nil #

def caption=(caption : String | Nil) #

def id : String #

def id=(id : String) #

def input_message_content : InputMessageContent | Nil #

def input_message_content=(input_message_content : InputMessageContent | Nil) #

def parse_mode : String | Nil #

def parse_mode=(parse_mode : 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) #

def voice_duration : Int32 | Nil #

def voice_duration=(voice_duration : Int32 | Nil) #

def voice_url : String #

def voice_url=(voice_url : String) #