クラス PostbackAction.PostbackActionBuilder

java.lang.Object
com.linecorp.bot.model.action.PostbackAction.PostbackActionBuilder
含まれているクラス:
PostbackAction

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

    • label

      public PostbackAction.PostbackActionBuilder label​(java.lang.String label)
      Label for the action.

      Max: 20 characters

      戻り値:
      this.
    • data

      public PostbackAction.PostbackActionBuilder data​(java.lang.String data)
      String returned via webhook in the postback.data property of the postback event.

      Max: 300 characters

      戻り値:
      this.
    • displayText

      public PostbackAction.PostbackActionBuilder displayText​(java.lang.String displayText)
      Text sent when the action is performed.

      Max: 300 characters

      戻り値:
      this.
    • text

      public PostbackAction.PostbackActionBuilder text​(java.lang.String text)
      Deprecated. Text sent when the action is performed.

      Max: 300 characters

      戻り値:
      this.
    • build

      public PostbackAction build()
    • toString

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