Page MenuHomePhabricator (Chris)

InlineQueryResultCachedVideo.php
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

InlineQueryResultCachedVideo.php

<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities\InlineQuery;
use Longman\TelegramBot\Entities\InlineKeyboard;
use Longman\TelegramBot\Entities\InputMessageContent\InputMessageContent;
/**
* Class InlineQueryResultCachedVideo
*
* @link https://core.telegram.org/bots/api#inlinequeryresultcachedvideo
*
* <code>
* $data = [
* 'id' => '',
* 'video_file_id' => '',
* 'title' => '',
* 'description' => '',
* 'caption' => '',
* 'reply_markup' => <InlineKeyboard>,
* 'input_message_content' => <InputMessageContent>,
* ];
* </code>
*
* @method string getType() Type of the result, must be video
* @method string getId() Unique identifier for this result, 1-64 bytes
* @method string getVideoFileId() A valid file identifier for the video file
* @method string getTitle() Title for the result
* @method string getDescription() Optional. Short description of the result
* @method string getCaption() Optional. Caption of the video to be sent, 0-200 characters
* @method InlineKeyboard getReplyMarkup() Optional. An Inline keyboard attached to the message
* @method InputMessageContent getInputMessageContent() Optional. Content of the message to be sent instead of the video
*
* @method $this setId(string $id) Unique identifier for this result, 1-64 bytes
* @method $this setVideoFileId(string $video_file_id) A valid file identifier for the video file
* @method $this setTitle(string $title) Title for the result
* @method $this setDescription(string $description) Optional. Short description of the result
* @method $this setCaption(string $caption) Optional. Caption of the video to be sent, 0-200 characters
* @method $this setReplyMarkup(InlineKeyboard $reply_markup) Optional. An Inline keyboard attached to the message
* @method $this setInputMessageContent(InputMessageContent $input_message_content) Optional. Content of the message to be sent instead of the video
*/
class InlineQueryResultCachedVideo extends InlineEntity implements InlineQueryResult
{
/**
* InlineQueryResultCachedVideo constructor
*
* @param array $data
*/
public function __construct(array $data = [])
{
$data['type'] = 'video';
parent::__construct($data);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 10:57 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
147561
Default Alt Text
InlineQueryResultCachedVideo.php (2 KB)

Event Timeline