Class InlineQueryResultMpeg4GifType.
Methods
create()
create(\TgBotApi\BotApiBase\Type\InlineQueryResult\string $id, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $mpeg4Url, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $thumbUrl, array $data = null
)
Static
Parameters
$id
$mpeg4Url
$thumbUrl
$data
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
fill()
fill(array $data, array $forbidden = array()
)
Inherited
Parameters
$data
array
$forbidden
array
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Properties
Optional. Caption of the GIF file to be sent, 0-1024 characters.
$caption : string | null
Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
$captionEntities : array<mixed,\TgBotApi\BotApiBase\Type\MessageEntityType> | null
Optional. Content of the message to be sent instead of the GIF animation.
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null
Optional. Video duration.
$mpeg4Duration : integer | null
Optional. Video height.
$mpeg4Height : integer | null
A valid URL for the MP4 file. File size must not exceed 1MB.
$mpeg4Url : string
Optional. Video width.
$mpeg4Width : integer | null
Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic,
fixed-width text or inline URLs in the media caption.
$parseMode : string | null
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result.
$thumbUrl : string
Optional. Title for the result.
$title : string | null