Свойство | Type | Description | |
---|---|---|---|
$caption | string | Optional. Caption of the MPEG-4 file to be sent, 0-200 characters | |
$map | array | ||
$mpeg4Height | integer | Optional. Video height | |
$mpeg4Url | string | A valid URL for the MP4 file. File size must not exceed 1MB | |
$mpeg4Width | integer | Optional. Video width | |
$requiredParams | array | ||
$thumbUrl | string | URL of the static thumbnail (jpeg or gif) for the result | |
$type | string |
Méthode | Description | |
---|---|---|
__construct ( string $id, string $mpeg4Url, string $thumbUrl, string | null $title = null, string | null $caption = null, integer | null $mpeg4Width = null, integer | null $mpeg4Height = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | InlineQueryResultMpeg4Gif constructor. | |
getCaption ( ) : string | ||
getMpeg4Height ( ) : integer | ||
getMpeg4Url ( ) : string | ||
getMpeg4Width ( ) : integer | ||
getThumbUrl ( ) : string | ||
setCaption ( string $caption ) | ||
setMpeg4Height ( integer $mpeg4Height ) | ||
setMpeg4Url ( string $mpeg4Url ) | ||
setMpeg4Width ( integer $mpeg4Width ) | ||
setThumbUrl ( string $thumbUrl ) |
public __construct ( string $id, string $mpeg4Url, string $thumbUrl, string | null $title = null, string | null $caption = null, integer | null $mpeg4Width = null, integer | null $mpeg4Height = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) | ||
$id | string | |
$mpeg4Url | string | |
$thumbUrl | string | |
$title | string | null | |
$caption | string | null | |
$mpeg4Width | integer | null | |
$mpeg4Height | integer | null | |
$inputMessageContent | TelegramBot\Api\Types\Inline\InputMessageContent | |
$inlineKeyboardMarkup | TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null |
protected int $mpeg4Height | ||
Résultat | integer |
protected string $mpeg4Url | ||
Résultat | string |
protected static array $requiredParams | ||
Résultat | array |
protected string $thumbUrl | ||
Résultat | string |