PHP 클래스 TelegramBot\Api\Types\Inline\InlineQuery

When the user sends an empty query, your bot could return some default or trending results.
상속: extends TelegramBot\Api\BaseType
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$from TelegramBot\Api\Types\User Sender
$id string Unique identifier for this query
$location TelegramBot\Api\Types\Location Optional. Sender location, only for bots that request user location
$map array
$offset string Offset of the results to be returned, can be controlled by the bot
$query string Text of the query
$requiredParams array

공개 메소드들

메소드 설명
getFrom ( ) : User
getId ( ) : string
getLocation ( ) : TelegramBot\Api\Types\Location
getOffset ( ) : string
getQuery ( ) : string
setFrom ( User $from )
setId ( string $id )
setLocation ( TelegramBot\Api\Types\Location $location )
setOffset ( string $offset )
setQuery ( string $query )

메소드 상세

getFrom() 공개 메소드

public getFrom ( ) : User
리턴 TelegramBot\Api\Types\User

getId() 공개 메소드

public getId ( ) : string
리턴 string

getLocation() 공개 메소드

public getLocation ( ) : TelegramBot\Api\Types\Location
리턴 TelegramBot\Api\Types\Location

getOffset() 공개 메소드

public getOffset ( ) : string
리턴 string

getQuery() 공개 메소드

public getQuery ( ) : string
리턴 string

setFrom() 공개 메소드

public setFrom ( User $from )
$from TelegramBot\Api\Types\User

setId() 공개 메소드

public setId ( string $id )
$id string

setLocation() 공개 메소드

public setLocation ( TelegramBot\Api\Types\Location $location )
$location TelegramBot\Api\Types\Location

setOffset() 공개 메소드

public setOffset ( string $offset )
$offset string

setQuery() 공개 메소드

public setQuery ( string $query )
$query string

프로퍼티 상세

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

Sender
protected User,TelegramBot\Api\Types $from
리턴 TelegramBot\Api\Types\User

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

Unique identifier for this query
protected string $id
리턴 string

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

Optional. Sender location, only for bots that request user location
protected Location,TelegramBot\Api\Types $location
리턴 TelegramBot\Api\Types\Location

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

protected static array $map
리턴 array

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

Offset of the results to be returned, can be controlled by the bot
protected string $offset
리턴 string

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

Text of the query
protected string $query
리턴 string

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

protected static array $requiredParams
리턴 array