Class MessageEvent
A base class of message event.
Don't instantiate this class individually.
-
LINE\LINEBot\Event\BaseEvent
-
LINE\LINEBot\Event\MessageEvent
Methods summary
public
|
#
__construct( array $event )
MessageEvent constructor.
MessageEvent constructor.
Parameters
Overrides
|
public
string
|
#
getMessageId( )
Returns the identifier of the message.
Returns the identifier of the message.
Returns
string
|
public
string
|
#
getMessageType( )
Returns the type of the message.
Returns the type of the message.
Returns
string
|
Methods inherited from LINE\LINEBot\Event\BaseEvent
getEventSourceId(),
getGroupId(),
getReplyToken(),
getRoomId(),
getTimestamp(),
getType(),
getUserId(),
isGroupEvent(),
isRoomEvent(),
isUnknownEvent(),
isUserEvent()
|
Properties summary
protected
array
|
$message
|
|