クラス LeaveEvent.LeaveEventBuilder

java.lang.Object
com.linecorp.bot.model.event.LeaveEvent.LeaveEventBuilder
含まれているクラス:
LeaveEvent

public static class LeaveEvent.LeaveEventBuilder
extends java.lang.Object
  • メソッドの詳細

    • source

      public LeaveEvent.LeaveEventBuilder source​(Source source)
      JSON object which contains the source of the event.
      戻り値:
      this.
    • timestamp

      public LeaveEvent.LeaveEventBuilder timestamp​(java.time.Instant timestamp)
      Time of the event.
      戻り値:
      this.
    • mode

      public LeaveEvent.LeaveEventBuilder mode​(EventMode mode)
      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.
      戻り値:
      this.
    • build

      public LeaveEvent build()
    • toString

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