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

또한 보기: https://core.telegram.org/bots/api#inlinequeryresultvenue Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use InputMessageContent to send a message with the specified content instead of the venue. Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
상속: extends AbstractInlineQueryResult
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$address string Optional. Thumbnail width
$foursquareId integer Optional. Foursquare identifier of the venue if known
$latitude float Latitude of the venue location in degrees
$longitude float Longitude of the venue location in degrees
$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

공개 메소드들

메소드 설명
__construct ( string $id, float $latitude, float $longitude, string $title, string $address, string $thumbUrl = null, integer $thumbWidth = null, integer $thumbHeight = null, string $foursquareId = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null ) Voice constructor
getAddress ( ) : string
getFoursquareId ( ) : integer
getLatitude ( ) : float
getLongitude ( ) : float
getThumbHeight ( ) : integer
getThumbUrl ( ) : string
getThumbWidth ( ) : integer
setAddress ( string $address )
setFoursquareId ( integer $foursquareId )
setLatitude ( float $latitude )
setLongitude ( float $longitude )
setThumbHeight ( integer $thumbHeight )
setThumbUrl ( string $thumbUrl )
setThumbWidth ( integer $thumbWidth )

메소드 상세

__construct() 공개 메소드

Voice constructor
public __construct ( string $id, float $latitude, float $longitude, string $title, string $address, string $thumbUrl = null, integer $thumbWidth = null, integer $thumbHeight = null, string $foursquareId = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null )
$id string
$latitude float
$longitude float
$title string
$address string
$thumbUrl string
$thumbWidth integer
$thumbHeight integer
$foursquareId string
$inputMessageContent TelegramBot\Api\Types\Inline\InputMessageContent | null
$inlineKeyboardMarkup TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null

getAddress() 공개 메소드

public getAddress ( ) : string
리턴 string

getFoursquareId() 공개 메소드

public getFoursquareId ( ) : integer
리턴 integer

getLatitude() 공개 메소드

public getLatitude ( ) : float
리턴 float

getLongitude() 공개 메소드

public getLongitude ( ) : float
리턴 float

getThumbHeight() 공개 메소드

public getThumbHeight ( ) : integer
리턴 integer

getThumbUrl() 공개 메소드

public getThumbUrl ( ) : string
리턴 string

getThumbWidth() 공개 메소드

public getThumbWidth ( ) : integer
리턴 integer

setAddress() 공개 메소드

public setAddress ( string $address )
$address string

setFoursquareId() 공개 메소드

public setFoursquareId ( integer $foursquareId )
$foursquareId integer

setLatitude() 공개 메소드

public setLatitude ( float $latitude )
$latitude float

setLongitude() 공개 메소드

public setLongitude ( float $longitude )
$longitude float

setThumbHeight() 공개 메소드

public setThumbHeight ( integer $thumbHeight )
$thumbHeight integer

setThumbUrl() 공개 메소드

public setThumbUrl ( string $thumbUrl )
$thumbUrl string

setThumbWidth() 공개 메소드

public setThumbWidth ( integer $thumbWidth )
$thumbWidth integer

프로퍼티 상세

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

Optional. Thumbnail width
protected string $address
리턴 string

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

Optional. Foursquare identifier of the venue if known
protected int $foursquareId
리턴 integer

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

Latitude of the venue location in degrees
protected float $latitude
리턴 float

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

Longitude of the venue location in degrees
protected float $longitude
리턴 float

$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