Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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 ) |
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 |
public setFoursquareId ( integer $foursquareId ) | ||
$foursquareId | integer |
protected int $foursquareId | ||
return | integer |
protected float $latitude | ||
return | float |
protected float $longitude | ||
return | float |
protected int $thumbHeight | ||
return | integer |
protected string $thumbUrl | ||
return | string |