Package com.linecorp.bot.model.event
Class FollowEvent
java.lang.Object
com.linecorp.bot.model.event.FollowEvent
- All Implemented Interfaces:
Event
,ReplyEvent
Event object for when your account is added as a friend (or unblocked). You can reply to follow events.
-
Method Details
-
builder
-
toBuilder
-
getReplyToken
Token for replying to this event.- Specified by:
getReplyToken
in interfaceReplyEvent
- See Also:
-
getSource
JSON object which contains the source of the event. -
getTimestamp
Time of the event.- Specified by:
getTimestamp
in interfaceEvent
-
getMode
Channel state.- active
- The channel is active. You can send a reply message or push message from the bot server that received this webhook event.
- standby (under development)
- The channel is waiting. The bot server that received this webhook event shouldn't send any messages.
-
getWebhookEventId
Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.- Specified by:
getWebhookEventId
in interfaceEvent
-
getDeliveryContext
Get delivery context.- Specified by:
getDeliveryContext
in interfaceEvent
-
equals
-
hashCode
public int hashCode() -
toString
-