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

또한 보기: https://core.telegram.org/bots/api#inputvenuemessagecontent Represents the content of a venue message to be sent as the result of an inline query.
상속: extends TelegramBot\Api\Types\Inline\InputMessageContent, implements TelegramBot\Api\TypeInterface
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$address string Address of the venue
$foursquareId string Optional. Foursquare identifier of the venue, if known
$latitude float Latitude of the venue in degrees
$longitude float Longitude of the venue in degrees
$map array
$requiredParams array
$title string Name of the venue

공개 메소드들

메소드 설명
__construct ( float $latitude, float $longitude, string $title, string $address, string $foursquareId = null ) Venue constructor.
getAddress ( ) : string
getFoursquareId ( ) : string
getLatitude ( ) : float
getLongitude ( ) : float
getTitle ( ) : string
setAddress ( string $address )
setFoursquareId ( string $foursquareId )
setLatitude ( float $latitude )
setLongitude ( float $longitude )
setTitle ( string $title )

메소드 상세

__construct() 공개 메소드

Venue constructor.
public __construct ( float $latitude, float $longitude, string $title, string $address, string $foursquareId = null )
$latitude float
$longitude float
$title string
$address string
$foursquareId string

getAddress() 공개 메소드

public getAddress ( ) : string
리턴 string

getFoursquareId() 공개 메소드

public getFoursquareId ( ) : string
리턴 string

getLatitude() 공개 메소드

public getLatitude ( ) : float
리턴 float

getLongitude() 공개 메소드

public getLongitude ( ) : float
리턴 float

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

setAddress() 공개 메소드

public setAddress ( string $address )
$address string

setFoursquareId() 공개 메소드

public setFoursquareId ( string $foursquareId )
$foursquareId string

setLatitude() 공개 메소드

public setLatitude ( float $latitude )
$latitude float

setLongitude() 공개 메소드

public setLongitude ( float $longitude )
$longitude float

setTitle() 공개 메소드

public setTitle ( string $title )
$title string

프로퍼티 상세

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

Address of the venue
protected string $address
리턴 string

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

Optional. Foursquare identifier of the venue, if known
protected string $foursquareId
리턴 string

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

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

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

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

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

protected static array $map
리턴 array

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

protected static array $requiredParams
리턴 array

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

Name of the venue
protected string $title
리턴 string