Overview

Namespaces

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

Classes

  • BaseEvent
  • BeaconDetectionEvent
  • FollowEvent
  • JoinEvent
  • LeaveEvent
  • MessageEvent
  • PostbackEvent
  • UnfollowEvent
  • UnknownEvent
  • Overview
  • Namespace
  • Class

Class UnknownEvent

A class that represents the unknown event.

If the event is not supported by this SDK, the event will be instantiate to this.

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

UnknownEvent constructor.

UnknownEvent constructor.

Parameters

$event

Overrides

LINE\LINEBot\Event\BaseEvent::__construct()
public array
# getEventBody( )

Returns unprocessed event body.

Returns unprocessed event body.

You can handle the event with getting the event body through this even if the event type is unknown.

Returns

array
Methods inherited from LINE\LINEBot\Event\BaseEvent
getEventSourceId(), getGroupId(), getReplyToken(), getRoomId(), getTimestamp(), getType(), getUserId(), isGroupEvent(), isRoomEvent(), isUnknownEvent(), isUserEvent()
Properties inherited from LINE\LINEBot\Event\BaseEvent
$event
line-bot-sdk-php API documentation generated by ApiGen