Property | Type | Description | |
---|---|---|---|
$description | string | Optional. Short description of the result | |
$hideUrl | boolean | Optional. Pass True, if you don't want the URL to be shown in the message | |
$map | array | ||
$requiredParams | array | ||
$thumbHeight | integer | Optional. Thumbnail height | |
$thumbUrl | string | Optional. Url of the thumbnail for the result | |
$thumbWidth | integer | Optional. Thumbnail width | |
$type | string | ||
$url | string | Optional. URL of the result |
Method | Description | |
---|---|---|
__construct ( string $id, string $title, string | null $description = null, string | null $thumbUrl = null, integer | null $thumbWidth = null, integer | null $thumbHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | InlineQueryResultArticle constructor. | |
getDescription ( ) : string | ||
getThumbHeight ( ) : integer | ||
getThumbUrl ( ) : string | ||
getThumbWidth ( ) : integer | ||
getUrl ( ) : string | ||
isHideUrl ( ) : boolean | ||
setDescription ( string $description ) | ||
setHideUrl ( boolean $hideUrl ) | ||
setThumbHeight ( integer $thumbHeight ) | ||
setThumbUrl ( string $thumbUrl ) | ||
setThumbWidth ( integer $thumbWidth ) | ||
setUrl ( string $url ) |
public __construct ( string $id, string $title, string | null $description = null, string | null $thumbUrl = null, integer | null $thumbWidth = null, integer | null $thumbHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | ||
$id | string | |
$title | string | |
$description | string | null | |
$thumbUrl | string | null | |
$thumbWidth | integer | null | |
$thumbHeight | integer | null | |
$inputMessageContent | TelegramBot\Api\Types\Inline\InputMessageContent | |
$inlineKeyboardMarkup | TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null |
protected string $description | ||
return | string |
protected bool $hideUrl | ||
return | boolean |
protected int $thumbHeight | ||
return | integer |
protected string $thumbUrl | ||
return | string |
protected int $thumbWidth | ||
return | integer |