クラス RichMenuResponse
java.lang.Object
com.linecorp.bot.model.richmenu.RichMenuResponse
- すべての実装されたインタフェース:
RichMenuCommonProperties
public final class RichMenuResponse extends java.lang.Object implements RichMenuCommonProperties
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 RichMenuResponse(java.lang.String richMenuId, RichMenuSize size, boolean selected, java.lang.String name, java.lang.String chatBarText, java.util.List<RichMenuArea> areas)
-
メソッドの概要
修飾子とタイプ メソッド 説明 boolean
equals(java.lang.Object o)
java.util.List<RichMenuArea>
getAreas()
Array ofRichMenuArea
objects which define the coordinates and size of tappable areas.java.lang.String
getChatBarText()
Text displayed in the chat bar.java.lang.String
getName()
Name of the rich menu.java.lang.String
getRichMenuId()
Rich menu ID.RichMenuSize
getSize()
RichMenuSize
object which contains the width and height of the rich menu displayed in the chat.int
hashCode()
boolean
isSelected()
true to display the rich menu by default.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
コンストラクタの詳細
-
メソッドの詳細
-
getRichMenuId
public java.lang.String getRichMenuId()Rich menu ID. -
getSize
RichMenuSize
object which contains the width and height of the rich menu displayed in the chat.Rich menu images must be one of the following sizes: 2500x1686, 2500x843.
- 定義:
getSize
インタフェース内RichMenuCommonProperties
-
isSelected
public boolean isSelected()true to display the rich menu by default. Otherwise, false.- 定義:
isSelected
インタフェース内RichMenuCommonProperties
-
getName
public java.lang.String getName()Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users.Maximum of 300 characters.
- 定義:
getName
インタフェース内RichMenuCommonProperties
-
getChatBarText
public java.lang.String getChatBarText()Text displayed in the chat bar.Maximum of 14 characters.
- 定義:
getChatBarText
インタフェース内RichMenuCommonProperties
-
getAreas
Array ofRichMenuArea
objects which define the coordinates and size of tappable areas.Maximum of 20 area objects.
- 定義:
getAreas
インタフェース内RichMenuCommonProperties
-
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
-