クラス PostbackEvent
java.lang.Object
com.linecorp.bot.model.event.PostbackEvent
- すべての実装されたインタフェース:
Event
,ReplyEvent
public final class PostbackEvent extends java.lang.Object implements Event, ReplyEvent
Event object for when a user performs an action on a template message which initiates a postback.
You can reply to postback events.
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
PostbackEvent.PostbackEventBuilder
-
メソッドの概要
修飾子とタイプ メソッド 説明 static PostbackEvent.PostbackEventBuilder
builder()
boolean
equals(java.lang.Object o)
EventMode
getMode()
Channel state.PostbackContent
getPostbackContent()
Content of the postback event.java.lang.String
getReplyToken()
Token for replying to this event.Source
getSource()
JSON object which contains the source of the event.java.time.Instant
getTimestamp()
Time of the event.int
hashCode()
PostbackEvent.PostbackEventBuilder
toBuilder()
java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
builder
-
toBuilder
-
getReplyToken
public java.lang.String getReplyToken()Token for replying to this event.- 定義:
getReplyToken
インタフェース内ReplyEvent
- 関連項目:
ReplyMessage
, Sample request Body
-
getSource
JSON object which contains the source of the event. -
getPostbackContent
Content of the postback event. -
getTimestamp
public java.time.Instant getTimestamp()Time of the event.- 定義:
getTimestamp
インタフェース内Event
-
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.
-
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
-