for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: iGusev
* Date: 13/04/16
* Time: 13:55
*/
namespace TelegramBot\Api\Types;
use TelegramBot\Api\BaseType;
use TelegramBot\Api\TypeInterface;
class Venue extends BaseType implements TypeInterface
{
* {@inheritdoc}
*
* @var array
static protected $requiredParams = ['location', 'title', 'address'];
static protected $map = [
'location' => Location::class,
'title' => true,
'address' => true,
'foursquare_id' => true,
];
* Venue location
* @var Location
protected $location;
* Name of the venue
* @var string
protected $title;
* Address of the venue
protected $address;
* Optional. Foursquare identifier of the venue
protected $foursquareId;
* @return Location
public function getLocation()
return $this->location;
}
* @param Location $location
public function setLocation($location)
$this->location = $location;
* @return string
public function getTitle()
return $this->title;
* @param string $title
public function setTitle($title)
$this->title = $title;
public function getAddress()
return $this->address;
* @param string $address
public function setAddress($address)
$this->address = $address;
public function getFoursquareId()
return $this->foursquareId;
* @param string $foursquareId
public function setFoursquareId($foursquareId)
$this->foursquareId = $foursquareId;