Class LocationMessage
A class that represents the message event of location.
-
LINE\LINEBot\Event\BaseEvent
-
LINE\LINEBot\Event\MessageEvent
-
LINE\LINEBot\Event\MessageEvent\LocationMessage
Methods summary
public
|
#
__construct( array $event )
LocationMessage constructor.
LocationMessage constructor.
Parameters
Overrides
|
public
string
|
#
getTitle( )
Returns title of the location message.
Returns title of the location message.
Returns
string
|
public
string
|
#
getAddress( )
Returns address of the location message.
Returns address of the location message.
Returns
string
|
public
float
|
#
getLatitude( )
Returns latitude of the location message.
Returns latitude of the location message.
Returns
float
|
public
float
|
#
getLongitude( )
Returns longitude of the location message.
Returns longitude of the location message.
Returns
float
|
Methods inherited from LINE\LINEBot\Event\BaseEvent
getEventSourceId(),
getGroupId(),
getReplyToken(),
getRoomId(),
getTimestamp(),
getType(),
getUserId(),
isGroupEvent(),
isRoomEvent(),
isUnknownEvent(),
isUserEvent()
|