Package com.linecorp.bot.model.event
Interface Event
-
- All Known Implementing Classes:
AccountLinkEvent,BeaconEvent,FollowEvent,JoinEvent,LeaveEvent,MemberJoinedEvent,MemberLeftEvent,MessageEvent,PostbackEvent,ThingsEvent,UnfollowEvent,UnknownEvent,UnsendEvent,VideoPlayCompleteEvent
public interface EventAbstract interface of events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventModegetMode()Channel state.SourcegetSource()Get event source.java.time.InstantgetTimestamp()Time of the event.
-
-
-
Method Detail
-
getSource
Source getSource()
Get event source.
-
getTimestamp
java.time.Instant getTimestamp()
Time of the event.
-
getMode
EventMode 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.
-
-