class

TelegramBot::InlineQueryResultVoice

Inherits JSON::Serializable < TelegramBot::InlineQueryResult < Reference < Object

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

caption
Source
caption=(caption : String | Nil)
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent | Nil)
Source
parse_mode
Source
parse_mode=(parse_mode : String | Nil)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
title
Source
title=(title : String)
Source
type
Source
type=(type : String)
Source
voice_duration
Source
voice_duration=(voice_duration : Int32 | Nil)
Source
voice_url
Source
voice_url=(voice_url : String)
Source