クラス PostbackEvent.PostbackEventBuilder
java.lang.Object
com.linecorp.bot.model.event.PostbackEvent.PostbackEventBuilder
- 含まれているクラス:
- PostbackEvent
public static class PostbackEvent.PostbackEventBuilder
extends java.lang.Object
-
メソッドの概要
修飾子とタイプ メソッド 説明 PostbackEvent
build()
PostbackEvent.PostbackEventBuilder
mode(EventMode mode)
Channel state.PostbackEvent.PostbackEventBuilder
postbackContent(PostbackContent postbackContent)
Content of the postback event.PostbackEvent.PostbackEventBuilder
replyToken(java.lang.String replyToken)
Token for replying to this event.PostbackEvent.PostbackEventBuilder
source(Source source)
JSON object which contains the source of the event.PostbackEvent.PostbackEventBuilder
timestamp(java.time.Instant timestamp)
Time of the event.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
replyToken
Token for replying to this event.- 戻り値:
this
.
-
source
JSON object which contains the source of the event.- 戻り値:
this
.
-
postbackContent
Content of the postback event.- 戻り値:
this
.
-
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
-
toString
public java.lang.String toString()- オーバーライド:
toString
クラス内java.lang.Object
-