クラス PostbackAction.PostbackActionBuilder
java.lang.Object
com.linecorp.bot.model.action.PostbackAction.PostbackActionBuilder
- 含まれているクラス:
- PostbackAction
public static class PostbackAction.PostbackActionBuilder
extends java.lang.Object
-
メソッドの概要
修飾子とタイプ メソッド 説明 PostbackAction
build()
PostbackAction.PostbackActionBuilder
data(java.lang.String data)
String returned via webhook in the postback.data property of the postback event.PostbackAction.PostbackActionBuilder
displayText(java.lang.String displayText)
Text sent when the action is performed.PostbackAction.PostbackActionBuilder
label(java.lang.String label)
Label for the action.PostbackAction.PostbackActionBuilder
text(java.lang.String text)
Deprecated.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
label
Label for the action.Max: 20 characters
- 戻り値:
this
.
-
data
String returned via webhook in the postback.data property of the postback event.Max: 300 characters
- 戻り値:
this
.
-
displayText
Text sent when the action is performed.Max: 300 characters
- 戻り値:
this
.
-
text
Deprecated. Text sent when the action is performed.Max: 300 characters
- 戻り値:
this
.
-
build
-
toString
public java.lang.String toString()- オーバーライド:
toString
クラス内java.lang.Object
-