MadelineProto/docs/TD_docs/constructors/inlineQueryResultArticle.md

1.4 KiB

title description
inlineQueryResultArticle Represents link to an article or web page

Constructor: inlineQueryResultArticle

Back to constructors index

Represents link to an article or web page

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
url string Yes Url of the result, if exists
hide_url Bool Yes True, if url must be not shown
title string Yes Title of the result
description string Yes Short description of the result
thumb_url string Yes Url of the result thumb, if exists
thumb_width int Yes Thumb width, if known
thumb_height int Yes Thumb height, if known

Type: InlineQueryResult

Example:

$inlineQueryResultArticle = ['_' => 'inlineQueryResultArticle', 'id' => string, 'url' => string, 'hide_url' => Bool, 'title' => string, 'description' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ];

Or, if you're into Lua:

inlineQueryResultArticle={_='inlineQueryResultArticle', id=string, url=string, hide_url=Bool, title=string, description=string, thumb_url=string, thumb_width=int, thumb_height=int, }