クラス FollowEvent

java.lang.Object
com.linecorp.bot.model.event.FollowEvent
すべての実装されたインタフェース:
Event, ReplyEvent

public final class FollowEvent
extends java.lang.Object
implements Event, ReplyEvent
Event object for when your account is added as a friend (or unblocked). You can reply to follow events.
  • メソッドの詳細

    • builder

      public static FollowEvent.FollowEventBuilder builder()
    • toBuilder

      public FollowEvent.FollowEventBuilder toBuilder()
    • getReplyToken

      public java.lang.String getReplyToken()
      Token for replying to this event.
      定義:
      getReplyToken インタフェース内 ReplyEvent
      関連項目:
      ReplyMessage, Sample request Body
    • getSource

      public Source getSource()
      JSON object which contains the source of the event.
      定義:
      getSource インタフェース内 Event
    • getTimestamp

      public java.time.Instant getTimestamp()
      Time of the event.
      定義:
      getTimestamp インタフェース内 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.
      定義:
      getMode インタフェース内 Event
    • equals

      public boolean equals​(java.lang.Object o)
      オーバーライド:
      equals クラス内 java.lang.Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 java.lang.Object
    • toString

      public java.lang.String toString()
      オーバーライド:
      toString クラス内 java.lang.Object