Package com.linecorp.bot.model.richmenu
Interface RichMenuCommonProperties
-
- All Known Implementing Classes:
RichMenu,RichMenuResponse
public interface RichMenuCommonProperties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RichMenuArea>getAreas()Array ofRichMenuAreaobjects which define the coordinates and size of tappable areas.java.lang.StringgetChatBarText()Text displayed in the chat bar.java.lang.StringgetName()Name of the rich menu.RichMenuSizegetSize()RichMenuSizeobject which contains the width and height of the rich menu displayed in the chat.booleanisSelected()true to display the rich menu by default.
-
-
-
Method Detail
-
getSize
RichMenuSize getSize()
RichMenuSizeobject 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.
-
isSelected
boolean isSelected()
true to display the rich menu by default. Otherwise, false.
-
getName
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.
-
getChatBarText
java.lang.String getChatBarText()
Text displayed in the chat bar. Maximum of 14 characters.
-
getAreas
java.util.List<RichMenuArea> getAreas()
Array ofRichMenuAreaobjects which define the coordinates and size of tappable areas.Maximum of 20 area objects.
-
-