Overview

Namespaces

  • LINE
    • LINEBot
      • Constant
      • Event
        • MessageEvent
        • Parser
      • Exception
      • HTTPClient
      • ImagemapActionBuilder
      • MessageBuilder
        • Imagemap
        • TemplateBuilder
      • TemplateActionBuilder

Classes

  • AudioMessage
  • FileMessage
  • ImageMessage
  • LocationMessage
  • StickerMessage
  • TextMessage
  • UnknownMessage
  • VideoMessage
  • Overview
  • Namespace
  • Class

Class LocationMessage

A class that represents the message event of location.

LINE\LINEBot\Event\BaseEvent
Extended by LINE\LINEBot\Event\MessageEvent
Extended by LINE\LINEBot\Event\MessageEvent\LocationMessage
Namespace: LINE\LINEBot\Event\MessageEvent
Package: LINE\LINEBot\Event\MessageEvent
Located at LINEBot/Event/MessageEvent/LocationMessage.php
Methods summary
public
# __construct( array $event )

LocationMessage constructor.

LocationMessage constructor.

Parameters

$event

Overrides

LINE\LINEBot\Event\MessageEvent::__construct()
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\MessageEvent
getMessageId(), getMessageType()
Methods inherited from LINE\LINEBot\Event\BaseEvent
getEventSourceId(), getGroupId(), getReplyToken(), getRoomId(), getTimestamp(), getType(), getUserId(), isGroupEvent(), isRoomEvent(), isUnknownEvent(), isUserEvent()
Properties inherited from LINE\LINEBot\Event\MessageEvent
$message
Properties inherited from LINE\LINEBot\Event\BaseEvent
$event
line-bot-sdk-php API documentation generated by ApiGen