Class QuickReplyItem
- java.lang.Object
-
- com.linecorp.bot.model.message.quickreply.QuickReplyItem
-
public final class QuickReplyItem extends java.lang.ObjectQuick reply items object.This is a container that contains quick reply buttons.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuickReplyItem.QuickReplyItemBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuickReplyItem.QuickReplyItemBuilderbuilder()booleanequals(java.lang.Object o)ActiongetAction()Action which is triggered when the quick reply button is tapped.java.net.URIgetImageUrl()URL of the icon that is displayed at the beginning of the button.java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
builder
public static QuickReplyItem.QuickReplyItemBuilder builder()
-
getImageUrl
public java.net.URI getImageUrl()
URL of the icon that is displayed at the beginning of the button.- Max: 1000 characters
- URL scheme: https
- Image format: PNG
- Aspect ratio: 1:1
- Data size: Up to 1 MB
There is no limit on the image size.
-
getAction
public Action getAction()
Action which is triggered when the quick reply button is tapped.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-