クラス PostbackEvent.PostbackEventBuilder

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

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

    • replyToken

      public PostbackEvent.PostbackEventBuilder replyToken​(java.lang.String replyToken)
      Token for replying to this event.
      戻り値:
      this.
    • source

      public PostbackEvent.PostbackEventBuilder source​(Source source)
      JSON object which contains the source of the event.
      戻り値:
      this.
    • postbackContent

      public PostbackEvent.PostbackEventBuilder postbackContent​(PostbackContent postbackContent)
      Content of the postback event.
      戻り値:
      this.
    • timestamp

      public PostbackEvent.PostbackEventBuilder timestamp​(java.time.Instant timestamp)
      Time of the event.
      戻り値:
      this.
    • 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 PostbackEvent build()
    • toString

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