Class InlineQueryResultCachedVideoType.
Methods
create()
create(\TgBotApi\BotApiBase\Type\InlineQueryResult\string $id, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $videoFileId, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $title, array $data = null
)
Static
Parameters
$id
$videoFileId
$title
$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 video 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. Short description of the result.
$description : string | null
Optional. Content of the message to be sent instead of the video.
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null
This field is required if InlineQueryResultVideo is used to send an HTML-page as a result
(e.g., a YouTube video).
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
Title for the result.
$title : string
A valid file identifier for the video file.
$videoFileId : string