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

상속: extends TelegramBot\Api\BaseType
파일 보기 프로젝트 열기: TelegramBot/Api 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$id string Unique identifier for this result, 1-64 bytes
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent Content of the message to be sent instead of the file
$replyMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup Optional. Inline keyboard attached to the message
$title string Title for the result
$type string Type of the result, must be one of: article, photo, gif, mpeg4_gif, video

공개 메소드들

메소드 설명
__construct ( string $id, string $title, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $replyMarkup = null ) AbstractInlineQueryResult constructor.
getId ( ) : string
getInputMessageContent ( ) : TelegramBot\Api\Types\Inline\InputMessageContent
getReplyMarkup ( ) : TelegramBot\Api\Types\Inline\InlineKeyboardMarkup
getTitle ( ) : string
getType ( ) : string
setId ( string $id )
setInputMessageContent ( TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent )
setReplyMarkup ( TelegramBot\Api\Types\Inline\InlineKeyboardMarkup $replyMarkup )
setTitle ( string $title )
setType ( string $type )

메소드 상세

__construct() 공개 메소드

AbstractInlineQueryResult constructor.
public __construct ( string $id, string $title, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $replyMarkup = null )
$id string
$title string
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent | null
$replyMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null

getId() 공개 메소드

public getId ( ) : string
리턴 string

getInputMessageContent() 공개 메소드

public getInputMessageContent ( ) : TelegramBot\Api\Types\Inline\InputMessageContent
리턴 TelegramBot\Api\Types\Inline\InputMessageContent

getReplyMarkup() 공개 메소드

public getReplyMarkup ( ) : TelegramBot\Api\Types\Inline\InlineKeyboardMarkup
리턴 TelegramBot\Api\Types\Inline\InlineKeyboardMarkup

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : string
리턴 string

setId() 공개 메소드

public setId ( string $id )
$id string

setInputMessageContent() 공개 메소드

public setInputMessageContent ( TelegramBot\Api\Types\Inline\InputMessageContent $inputMessageContent )
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent

setReplyMarkup() 공개 메소드

public setReplyMarkup ( TelegramBot\Api\Types\Inline\InlineKeyboardMarkup $replyMarkup )
$replyMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup

setTitle() 공개 메소드

public setTitle ( string $title )
$title string

setType() 공개 메소드

public setType ( string $type )
$type string

프로퍼티 상세

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

Unique identifier for this result, 1-64 bytes
protected string $id
리턴 string

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

Content of the message to be sent instead of the file
protected InputMessageContent,TelegramBot\Api\Types\Inline $inputMessageContent
리턴 TelegramBot\Api\Types\Inline\InputMessageContent

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

Optional. Inline keyboard attached to the message
protected InlineKeyboardMarkup,TelegramBot\Api\Types\Inline $replyMarkup
리턴 TelegramBot\Api\Types\Inline\InlineKeyboardMarkup

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

Title for the result
protected string $title
리턴 string

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

Type of the result, must be one of: article, photo, gif, mpeg4_gif, video
protected string $type
리턴 string