InlineQueryResultArticle
class InlineQueryResultArticle implements InlineQueryResultInterface
Represents a link to an article or web page.
Methods
No description
Type of the result, must be article.
Unique identifier for this result, 1-64 Bytes.
Title of the result.
Content of the message to be sent.
Optional. Inline keyboard attached to the message.
Optional. URL of the result.
Optional. Pass True if you don't want the URL to be shown in the message.
Optional. Short description of the result.
Optional. Url of the thumbnail for the result.
Optional. Thumbnail width.
Optional. Thumbnail height.
Details
at line 23
__construct(string $type, string $id, string $title, InputMessageContentInterface $input_message_content, InlineKeyboardMarkup|null $reply_markup = null, string|null $url = null, bool|null $hide_url = null, string|null $description = null, string|null $thumb_url = null, int|null $thumb_width = null, int|null $thumb_height = null)
No description
at line 41
string
getType()
Type of the result, must be article.
at line 49
string
getId()
Unique identifier for this result, 1-64 Bytes.
at line 57
string
getTitle()
Title of the result.
at line 65
InputMessageContentInterface
getInputMessageContent()
Content of the message to be sent.
at line 73
InlineKeyboardMarkup|null
getReplyMarkup()
Optional. Inline keyboard attached to the message.
at line 81
string|null
getUrl()
Optional. URL of the result.
at line 89
bool|null
getHideUrl()
Optional. Pass True if you don't want the URL to be shown in the message.
at line 97
string|null
getDescription()
Optional. Short description of the result.
at line 105
string|null
getThumbUrl()
Optional. Url of the thumbnail for the result.
at line 113
int|null
getThumbWidth()
Optional. Thumbnail width.
at line 121
int|null
getThumbHeight()
Optional. Thumbnail height.