AccountLinkEvent

A class that represents the event of account link. Event object for when a user has linked his/her LINE account with a provider's service account. You can reply to account link events. If the link token has expired or has already been used, no webhook event will be sent and the user will be shown an error.
extends LINE\LINEBot\Event\BaseEvent
Methods Summary
public
# __construct( array $event )
AccountLinkEvent constructor.

Overrides

public
# getResult( )
Gets the result of the link event One of the following values to indicate whether the link was successful or not. ok: Indicates the link was successful. failed: Indicates the link failed for any reason, such as due to a user impersonation.

see

see

public
# getNonce( )
Gets the nonce generated from the user ID on the provider's service.
public
# isSuccess( )
Returns the account link has success or not
public
# isFailed( )
Returns the account link has failed or not
Methods inherited from LINE\LINEBot\Event\BaseEvent
__construct(), getType(), getMode(), getTimestamp(), getReplyToken(), isUserEvent(), isGroupEvent(), isRoomEvent(), isUnknownEvent(), getUserId(), getGroupId(), getRoomId(), getEventSourceId()
Constants Summary
public string RESULT_OK
# 'ok'
public string RESULT_FAILED
# 'failed'
Properties inherited from LINE\LINEBot\Event\BaseEvent
$event