Property | Type | Description | |
---|---|---|---|
$latitude | float | Location latitude in degrees | |
$longitude | float | Location longitude 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 $thumbUrl = null, integer $thumbWidth = null, integer $thumbHeight = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null ) | Voice constructor | |
getLatitude ( ) : float | ||
getLongitude ( ) : float | ||
getThumbHeight ( ) : integer | ||
getThumbUrl ( ) : string | ||
getThumbWidth ( ) : integer | ||
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 $thumbUrl = null, integer $thumbWidth = null, integer $thumbHeight = null, TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null $inlineKeyboardMarkup = null, TelegramBot\Api\Types\Inline\InputMessageContent | null $inputMessageContent = null ) | ||
$id | string | |
$latitude | float | |
$longitude | float | |
$title | string | |
$thumbUrl | string | |
$thumbWidth | integer | |
$thumbHeight | integer | |
$inlineKeyboardMarkup | TelegramBot\Api\Types\Inline\InlineKeyboardMarkup | null | |
$inputMessageContent | TelegramBot\Api\Types\Inline\InputMessageContent | null |
protected int $thumbHeight | ||
return | integer |
protected string $thumbUrl | ||
return | string |