PHP Class TelegramBot\Api\Types\Venue

Inheritance: extends TelegramBot\Api\BaseType, implements TelegramBot\Api\TypeInterface
Mostrar archivo Open project: TelegramBot/Api

Protected Properties

Property Type Description
$address string Address of the venue
$foursquareId string Optional. Foursquare identifier of the venue
$location TelegramBot\Api\Types\Location Venue location
$map array
$requiredParams array
$title string Name of the venue

Public Methods

Method Description
getAddress ( ) : string
getFoursquareId ( ) : string
getLocation ( ) : TelegramBot\Api\Types\Location
getTitle ( ) : string
setAddress ( string $address )
setFoursquareId ( string $foursquareId )
setLocation ( TelegramBot\Api\Types\Location $location )
setTitle ( string $title )

Method Details

getAddress() public method

public getAddress ( ) : string
return string

getFoursquareId() public method

public getFoursquareId ( ) : string
return string

getLocation() public method

public getLocation ( ) : TelegramBot\Api\Types\Location
return TelegramBot\Api\Types\Location

getTitle() public method

public getTitle ( ) : string
return string

setAddress() public method

public setAddress ( string $address )
$address string

setFoursquareId() public method

public setFoursquareId ( string $foursquareId )
$foursquareId string

setLocation() public method

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

setTitle() public method

public setTitle ( string $title )
$title string

Property Details

$address protected_oe property

Address of the venue
protected string $address
return string

$foursquareId protected_oe property

Optional. Foursquare identifier of the venue
protected string $foursquareId
return string

$location protected_oe property

Venue location
protected Location,TelegramBot\Api\Types $location
return TelegramBot\Api\Types\Location

$map protected_oe static_oe property

protected static array $map
return array

$requiredParams protected_oe static_oe property

protected static array $requiredParams
return array

$title protected_oe property

Name of the venue
protected string $title
return string