class

TelegramBot::InlineQueryResultPhoto

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

Constructors

new(id : String, photo_url : String, thumbnail_url : String, *, photo_width : Int32 | Nil = nil, photo_height : Int32 | Nil = nil, title : Nil | String = nil, description : Nil | String = nil, caption : Nil | String = 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
description
Source
description=(description : String | Nil)
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent | Nil)
Source
photo_height
Source
photo_height=(photo_height : Int32 | Nil)
Source
photo_url
Source
photo_url=(photo_url : String)
Source
photo_width
Source
photo_width=(photo_width : Int32 | Nil)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
thumbnail_url
Source
thumbnail_url=(thumbnail_url : String)
Source
title
Source
title=(title : String | Nil)
Source
type
Source
type=(type : String)
Source