Class QuickReplyItem
- java.lang.Object
-
- com.linecorp.bot.model.message.quickreply.QuickReplyItem
-
public final class QuickReplyItem extends java.lang.Object
Quick reply items object.This is a container that contains quick reply buttons.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuickReplyItem.QuickReplyItemBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuickReplyItem.QuickReplyItemBuilder
builder()
boolean
equals(java.lang.Object o)
Action
getAction()
Action which is triggered when the quick reply button is tapped.java.net.URI
getImageUrl()
URL of the icon that is displayed at the beginning of the button.java.lang.String
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-