パッケージ twitter4j.v1

クラス QuickReply

java.lang.Object
twitter4j.v1.QuickReply
すべての実装されたインタフェース:
Serializable

public final class QuickReply extends Object implements Serializable
Quick reply
関連項目:
  • フィールド詳細

    • label

      public final String label
      label
    • description

      public final String description
      description
    • metadata

      public final String metadata
      metadata
  • メソッドの詳細

    • of

      public static QuickReply of(String label, String description, String metadata)
      constructs a new quick reply inctance
      パラメータ:
      label - The text label displayed on the button face. Label text is returned as the user’s message response. String, max length of 36 characters including spaces. Values with URLs are not allowed and will return an error.
      description - Optional description text displayed under label text. All options must have this property defined if property is present in any option. Text is auto-wrapped and will display on a max of two lines and supports n for controling line breaks. Description text is not include in the user’s message response. String, max length of 72 characters including spaces.
      metadata - Metadata that will be sent back in the webhook request. String, max length of 1,000 characters including spaces.
      戻り値:
      QuickReply
    • equals

      public boolean equals(Object o)
      オーバーライド:
      equals クラス内 Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 Object
    • toString

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