PHP Class TelegramBot\Api\Types\Inline\InputMessageContent\Location

See also: https://core.telegram.org/bots/api#inputlocationmessagecontent Represents the content of a location message to be sent as the result of an inline query.
Inheritance: extends TelegramBot\Api\Types\Inline\InputMessageContent, implements TelegramBot\Api\TypeInterface
Datei anzeigen Open project: TelegramBot/Api

Protected Properties

Property Type Description
$latitude float Latitude of the location in degrees
$longitude float Longitude of the location in degrees
$map array
$requiredParams array

Public Methods

Method Description
__construct ( float $latitude, float $longitude ) Location constructor.
getLatitude ( ) : float
getLongitude ( ) : float
setLatitude ( float $latitude )
setLongitude ( float $longitude )

Method Details

__construct() public method

Location constructor.
public __construct ( float $latitude, float $longitude )
$latitude float
$longitude float

getLatitude() public method

public getLatitude ( ) : float
return float

getLongitude() public method

public getLongitude ( ) : float
return float

setLatitude() public method

public setLatitude ( float $latitude )
$latitude float

setLongitude() public method

public setLongitude ( float $longitude )
$longitude float

Property Details

$latitude protected_oe property

Latitude of the location in degrees
protected float $latitude
return float

$longitude protected_oe property

Longitude of the location in degrees
protected float $longitude
return float

$map protected_oe static_oe property

protected static array $map
return array

$requiredParams protected_oe static_oe property

protected static array $requiredParams
return array