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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
caption
Sourcedescription
Sourcedocument_url
Sourceid
Sourceinput_message_content
Sourceinput_message_content=(input_message_content : InputMessageContent | Nil)
Sourcemime_type
Sourcereply_markup
Sourcereply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Sourcethumbnail_height
Sourcethumbnail_url
Sourcethumbnail_width
Sourcetitle
Sourcetype
Source