Property | Type | Description | |
---|---|---|---|
$caption | string | Optional. Caption of the GIF file to be sent, 0-200 characters | |
$gifHeight | integer | Optional. Height of the GIF | |
$gifUrl | string | A valid URL for the GIF file. File size must not exceed 1MB | |
$gifWidth | integer | Optional. Width of the GIF | |
$map | array | ||
$requiredParams | array | ||
$thumbUrl | string | URL of the static thumbnail for the result (jpeg or gif) | |
$type | string |
Method | Description | |
---|---|---|
__construct ( string $id, string $gifUrl, string $thumbUrl = null, string | null $title = null, string | null $caption = null, integer | null $gifWidth = null, integer | null $gifHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | InlineQueryResultGif constructor. | |
getCaption ( ) : string | ||
getGifHeight ( ) : integer | ||
getGifUrl ( ) : string | ||
getGifWidth ( ) : integer | ||
getThumbUrl ( ) : string | ||
setCaption ( string $caption ) | ||
setGifHeight ( integer $gifHeight ) | ||
setGifUrl ( string $gifUrl ) | ||
setGifWidth ( integer $gifWidth ) | ||
setThumbUrl ( string $thumbUrl ) |
public __construct ( string $id, string $gifUrl, string $thumbUrl = null, string | null $title = null, string | null $caption = null, integer | null $gifWidth = null, integer | null $gifHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | ||
$id | string | |
$gifUrl | string | |
$thumbUrl | string | |
$title | string | null | |
$caption | string | null | |
$gifWidth | integer | null | |
$gifHeight | integer | null | |
$inputMessageContent | TelegramBot\Api\Types\Inline\InputMessageContent | |
$inlineKeyboardMarkup | TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null |
protected string $gifUrl | ||
return | string |
protected string $thumbUrl | ||
return | string |