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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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