class Tourmaline::InlineQueryResultArticle
inherits Reference
#
Represents a link to an article or web page.
Included modules
JSON::Serializable
Constructors#
.new(id, title, input_message_content, type = "article", reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, url : String? = nil, hide_url : Bool? = nil, description : String? = nil, thumbnail_url : String? = nil, thumbnail_width : Int32 | Int64 | Nil = nil, thumbnail_height : Int32 | Int64 | Nil = nil)
#
(id, title, input_message_content, type = "article", reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, url : String? = nil, hide_url : Bool? = nil, description : String? = nil, thumbnail_url : String? = nil, thumbnail_width : Int32 | Int64 | Nil = nil, thumbnail_height : Int32 | Int64 | Nil = nil)
Methods#
#hide_url=(hide_url : Bool?)
#
(hide_url : Bool?)
Optional. Pass True if you don't want the URL to be shown in the message
#hide_url? : Bool?
#
: Bool?
Optional. Pass True if you don't want the URL to be shown in the message
#input_message_content : Tourmaline::InputMessageContent
#
: Tourmaline::InputMessageContent
Content of the message to be sent
#input_message_content=(input_message_content : Tourmaline::InputMessageContent)
#
(input_message_content : Tourmaline::InputMessageContent)
Content of the message to be sent
#reply_markup : Tourmaline::InlineKeyboardMarkup?
#
: Tourmaline::InlineKeyboardMarkup?
Optional. Inline keyboard attached to the message
#reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup?)
#
(reply_markup : Tourmaline::InlineKeyboardMarkup?)
Optional. Inline keyboard attached to the message
#thumbnail_url=(thumbnail_url : String?)
#
(thumbnail_url : String?)
Optional. Url of the thumbnail for the result