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

By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can provide message_text to send it instead of the animation.
상속: extends AbstractInlineQueryResult
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

InlineQueryResultMpeg4Gif constructor.
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

getCaption() 공개 메소드

public getCaption ( ) : string
리턴 string

getMpeg4Height() 공개 메소드

public getMpeg4Height ( ) : integer
리턴 integer

getMpeg4Url() 공개 메소드

public getMpeg4Url ( ) : string
리턴 string

getMpeg4Width() 공개 메소드

public getMpeg4Width ( ) : integer
리턴 integer

getThumbUrl() 공개 메소드

public getThumbUrl ( ) : string
리턴 string

setCaption() 공개 메소드

public setCaption ( string $caption )
$caption string

setMpeg4Height() 공개 메소드

public setMpeg4Height ( integer $mpeg4Height )
$mpeg4Height integer

setMpeg4Url() 공개 메소드

public setMpeg4Url ( string $mpeg4Url )
$mpeg4Url string

setMpeg4Width() 공개 메소드

public setMpeg4Width ( integer $mpeg4Width )
$mpeg4Width integer

setThumbUrl() 공개 메소드

public setThumbUrl ( string $thumbUrl )
$thumbUrl string

프로퍼티 상세

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

Optional. Caption of the MPEG-4 file to be sent, 0-200 characters
protected string $caption
리턴 string

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

protected static array $map
리턴 array

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

Optional. Video height
protected int $mpeg4Height
리턴 integer

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

A valid URL for the MP4 file. File size must not exceed 1MB
protected string $mpeg4Url
리턴 string

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

Optional. Video width
protected int $mpeg4Width
리턴 integer

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

protected static array $requiredParams
리턴 array

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

URL of the static thumbnail (jpeg or gif) for the result
protected string $thumbUrl
리턴 string

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

protected string $type
리턴 string