class

TelegramBot::InlineQueryResultDocument

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

Constructors

new(id : String, title : String, *, caption : Nil | String = nil, document_url : String, mime_type : String, description : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = 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

caption
Source
caption=(caption : String | Nil)
Source
description
Source
description=(description : String | Nil)
Source
document_url
Source
document_url=(document_url : String)
Source
id=(id : String)
Source
input_message_content
Source
input_message_content=(input_message_content : InputMessageContent | Nil)
Source
mime_type
Source
mime_type=(mime_type : String)
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