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 PostbackEvent

A class that represents the event of postback.

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

PostbackEvent constructor.

PostbackEvent constructor.

Parameters

$event

Overrides

LINE\LINEBot\Event\BaseEvent::__construct()
public string
# getPostbackData( )

Returns the data of postback.

Returns the data of postback.

Returns

string
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