Telegram::InlineQueryResultArticle
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: InlineQueryResultArticle Represents a link to an article or web page.
Constructors
new(type : String, id : String, title : String, input_message_content : InputMessageContent, reply_markup : InlineKeyboardMarkup | Nil = nil, url : String | Nil = nil, description : String | Nil = nil, thumbnail_url : String | Nil = nil, thumbnail_width : Int64 | Nil = nil, thumbnail_height : Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(type _type = @type, id _id = @id, title _title = @title, input_message_content _input_message_content = @input_message_content, reply_markup _reply_markup = @reply_markup, url _url = @url, description _description = @description, thumbnail_url _thumbnail_url = @thumbnail_url, thumbnail_width _thumbnail_width = @thumbnail_width, thumbnail_height _thumbnail_height = @thumbnail_height)
Sourcedescription
id
input_message_content
reply_markup
thumbnail_height
thumbnail_url
thumbnail_width
title
type
url