Class AccountLinkEvent

  • All Implemented Interfaces:
    Event, ReplyEvent

    public final class AccountLinkEvent
    extends java.lang.Object
    implements Event, ReplyEvent
    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.
    • Method Detail

      • getSource

        public Source getSource()
        JSON object which contains the source of the event.
        Specified by:
        getSource in interface Event
      • getTimestamp

        public java.time.Instant getTimestamp()
        Time of the event.
        Specified by:
        getTimestamp in interface Event
      • getLink

        public LinkContent getLink()
        Content of the account link event.
      • getMode

        public 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.
        Specified by:
        getMode in interface Event
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object