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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$description string Optional. Short description of the result
$hideUrl boolean Optional. Pass True, if you don't want the URL to be shown in the message
$map array
$requiredParams array
$thumbHeight integer Optional. Thumbnail height
$thumbUrl string Optional. Url of the thumbnail for the result
$thumbWidth integer Optional. Thumbnail width
$type string
$url string Optional. URL of the result

공개 메소드들

메소드 설명
__construct ( string $id, string $title, string | null $description = null, string | null $thumbUrl = null, integer | null $thumbWidth = null, integer | null $thumbHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) InlineQueryResultArticle constructor.
getDescription ( ) : string
getThumbHeight ( ) : integer
getThumbUrl ( ) : string
getThumbWidth ( ) : integer
getUrl ( ) : string
isHideUrl ( ) : boolean
setDescription ( string $description )
setHideUrl ( boolean $hideUrl )
setThumbHeight ( integer $thumbHeight )
setThumbUrl ( string $thumbUrl )
setThumbWidth ( integer $thumbWidth )
setUrl ( string $url )

메소드 상세

__construct() 공개 메소드

InlineQueryResultArticle constructor.
public __construct ( string $id, string $title, string | null $description = null, string | null $thumbUrl = null, integer | null $thumbWidth = null, integer | null $thumbHeight = null, TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null )
$id string
$title string
$description string | null
$thumbUrl string | null
$thumbWidth integer | null
$thumbHeight integer | null
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent
$inlineKeyboardMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getThumbHeight() 공개 메소드

public getThumbHeight ( ) : integer
리턴 integer

getThumbUrl() 공개 메소드

public getThumbUrl ( ) : string
리턴 string

getThumbWidth() 공개 메소드

public getThumbWidth ( ) : integer
리턴 integer

getUrl() 공개 메소드

public getUrl ( ) : string
리턴 string

isHideUrl() 공개 메소드

public isHideUrl ( ) : boolean
리턴 boolean

setDescription() 공개 메소드

public setDescription ( string $description )
$description string

setHideUrl() 공개 메소드

public setHideUrl ( boolean $hideUrl )
$hideUrl boolean

setThumbHeight() 공개 메소드

public setThumbHeight ( integer $thumbHeight )
$thumbHeight integer

setThumbUrl() 공개 메소드

public setThumbUrl ( string $thumbUrl )
$thumbUrl string

setThumbWidth() 공개 메소드

public setThumbWidth ( integer $thumbWidth )
$thumbWidth integer

setUrl() 공개 메소드

public setUrl ( string $url )
$url string

프로퍼티 상세

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

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

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

Optional. Pass True, if you don't want the URL to be shown in the message
protected bool $hideUrl
리턴 boolean

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

protected static array $map
리턴 array

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

protected static array $requiredParams
리턴 array

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

Optional. Thumbnail height
protected int $thumbHeight
리턴 integer

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

Optional. Url of the thumbnail for the result
protected string $thumbUrl
리턴 string

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

Optional. Thumbnail width
protected int $thumbWidth
리턴 integer

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

protected string $type
리턴 string

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

Optional. URL of the result
protected string $url
리턴 string