PHP 클래스 TelegramBot\Api\Types\Inline\QueryResult\Video

상속: extends AbstractInlineQueryResult
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$caption string Optional. Short description of the result
$description string Optional. Short description of the result
$map array
$mimeType string Mime type of the content of video url, “text/html” or “video/mp4”
$requiredParams array
$thumbUrl string URL of the thumbnail (jpeg only) for the video
$type string
$videoDuration integer Optional. Video duration in seconds
$videoHeight integer Optional. Video height
$videoUrl string A valid URL for the embedded video player or video file
$videoWidth integer Optional. Video width

공개 메소드들

메소드 설명
__construct ( string $id, string $videoUrl, string $thumbUrl, string $mimeType, string $title, string | null $caption = null, string | null $description = null, integer | null $videoWidth = null, integer | null $videoHeight = null, integer | null $videoDuration = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) Video constructor
getCaption ( ) : string
getDescription ( ) : string
getMimeType ( ) : string
getThumbUrl ( ) : mixed
getVideoDuration ( ) : integer
getVideoHeight ( ) : integer
getVideoUrl ( ) : string
getVideoWidth ( ) : integer
setCaption ( string $caption )
setDescription ( string $description )
setMimeType ( string $mimeType )
setThumbUrl ( mixed $thumbUrl )
setVideoDuration ( integer $videoDuration )
setVideoHeight ( integer $videoHeight )
setVideoUrl ( string $videoUrl )
setVideoWidth ( integer $videoWidth )

메소드 상세

__construct() 공개 메소드

Video constructor
public __construct ( string $id, string $videoUrl, string $thumbUrl, string $mimeType, string $title, string | null $caption = null, string | null $description = null, integer | null $videoWidth = null, integer | null $videoHeight = null, integer | null $videoDuration = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null )
$id string
$videoUrl string
$thumbUrl string
$mimeType string
$title string
$caption string | null
$description string | null
$videoWidth integer | null
$videoHeight integer | null
$videoDuration integer | null
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent | null
$inlineKeyboardMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null

getCaption() 공개 메소드

public getCaption ( ) : string
리턴 string

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getMimeType() 공개 메소드

public getMimeType ( ) : string
리턴 string

getThumbUrl() 공개 메소드

public getThumbUrl ( ) : mixed
리턴 mixed

getVideoDuration() 공개 메소드

public getVideoDuration ( ) : integer
리턴 integer

getVideoHeight() 공개 메소드

public getVideoHeight ( ) : integer
리턴 integer

getVideoUrl() 공개 메소드

public getVideoUrl ( ) : string
리턴 string

getVideoWidth() 공개 메소드

public getVideoWidth ( ) : integer
리턴 integer

setCaption() 공개 메소드

public setCaption ( string $caption )
$caption string

setDescription() 공개 메소드

public setDescription ( string $description )
$description string

setMimeType() 공개 메소드

public setMimeType ( string $mimeType )
$mimeType string

setThumbUrl() 공개 메소드

public setThumbUrl ( mixed $thumbUrl )
$thumbUrl mixed

setVideoDuration() 공개 메소드

public setVideoDuration ( integer $videoDuration )
$videoDuration integer

setVideoHeight() 공개 메소드

public setVideoHeight ( integer $videoHeight )
$videoHeight integer

setVideoUrl() 공개 메소드

public setVideoUrl ( string $videoUrl )
$videoUrl string

setVideoWidth() 공개 메소드

public setVideoWidth ( integer $videoWidth )
$videoWidth integer

프로퍼티 상세

$caption 보호되어 있는 프로퍼티

Optional. Short description of the result
protected string $caption
리턴 string

$description 보호되어 있는 프로퍼티

Optional. Short description of the result
protected string $description
리턴 string

$map 보호되어 있는 정적으로 프로퍼티

protected static array $map
리턴 array

$mimeType 보호되어 있는 프로퍼티

Mime type of the content of video url, “text/html” or “video/mp4”
protected string $mimeType
리턴 string

$requiredParams 보호되어 있는 정적으로 프로퍼티

protected static array $requiredParams
리턴 array

$thumbUrl 보호되어 있는 프로퍼티

URL of the thumbnail (jpeg only) for the video
protected string $thumbUrl
리턴 string

$type 보호되어 있는 프로퍼티

protected string $type
리턴 string

$videoDuration 보호되어 있는 프로퍼티

Optional. Video duration in seconds
protected int $videoDuration
리턴 integer

$videoHeight 보호되어 있는 프로퍼티

Optional. Video height
protected int $videoHeight
리턴 integer

$videoUrl 보호되어 있는 프로퍼티

A valid URL for the embedded video player or video file
protected string $videoUrl
리턴 string

$videoWidth 보호되어 있는 프로퍼티

Optional. Video width
protected int $videoWidth
리턴 integer