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
Afficher le fichier Open project: TelegramBot/Api

Protected Properties

Свойство Type Description
$latitude float Latitude of the location in degrees
$longitude float Longitude of the location in degrees
$map array
$requiredParams array

Méthodes publiques

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

Method Details

__construct() public méthode

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

getLatitude() public méthode

public getLatitude ( ) : float
Résultat float

getLongitude() public méthode

public getLongitude ( ) : float
Résultat float

setLatitude() public méthode

public setLatitude ( float $latitude )
$latitude float

setLongitude() public méthode

public setLongitude ( float $longitude )
$longitude float

Property Details

$latitude protected_oe property

Latitude of the location in degrees
protected float $latitude
Résultat float

$longitude protected_oe property

Longitude of the location in degrees
protected float $longitude
Résultat float

$map protected_oe static_oe property

protected static array $map
Résultat array

$requiredParams protected_oe static_oe property

protected static array $requiredParams
Résultat array