class

TelegramBot::InlineQueryResultArticle

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

Constructors

new(id : String, title : String, input_message_content : InputMessageContent, *, reply_markup : InlineKeyboardMarkup | Nil = nil, url : String | Nil = nil, hide_url : Bool | Nil = nil, description : Nil | String = nil, thumbnail_url : Nil | String = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description
Source
description=(description : String | Nil)
Source
hide_url=(hide_url : Bool | Nil)
Source
hide_url?
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
thumbnail_height
Source
thumbnail_height=(thumbnail_height : Int32 | Nil)
Source
thumbnail_url
Source
thumbnail_url=(thumbnail_url : String | Nil)
Source
thumbnail_width
Source
thumbnail_width=(thumbnail_width : Int32 | Nil)
Source
title
Source
title=(title : String)
Source
type
Source
type=(type : String)
Source
url=(url : String | Nil)
Source