PHP 클래스 TelegramBot\Api\Types\Inline\InputMessageContent\Location

또한 보기: https://core.telegram.org/bots/api#inputlocationmessagecontent Represents the content of a location message to be sent as the result of an inline query.
상속: extends TelegramBot\Api\Types\Inline\InputMessageContent, implements TelegramBot\Api\TypeInterface
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$latitude float Latitude of the location in degrees
$longitude float Longitude of the location in degrees
$map array
$requiredParams array

공개 메소드들

메소드 설명
__construct ( float $latitude, float $longitude ) Location constructor.
getLatitude ( ) : float
getLongitude ( ) : float
setLatitude ( float $latitude )
setLongitude ( float $longitude )

메소드 상세

__construct() 공개 메소드

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

getLatitude() 공개 메소드

public getLatitude ( ) : float
리턴 float

getLongitude() 공개 메소드

public getLongitude ( ) : float
리턴 float

setLatitude() 공개 메소드

public setLatitude ( float $latitude )
$latitude float

setLongitude() 공개 메소드

public setLongitude ( float $longitude )
$longitude float

프로퍼티 상세

$latitude 보호되어 있는 프로퍼티

Latitude of the location in degrees
protected float $latitude
리턴 float

$longitude 보호되어 있는 프로퍼티

Longitude of the location in degrees
protected float $longitude
리턴 float

$map 보호되어 있는 정적으로 프로퍼티

protected static array $map
리턴 array

$requiredParams 보호되어 있는 정적으로 프로퍼티

protected static array $requiredParams
리턴 array