Package com.linecorp.bot.model.message
Class ImageMessage
- java.lang.Object
-
- com.linecorp.bot.model.message.ImageMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageMessage.ImageMessageBuilder
-
Constructor Summary
Constructors Constructor Description ImageMessage(java.net.URI originalContentUrl, java.net.URI previewImageUrl)
Constructor withoutquickReply
parameter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageMessage.ImageMessageBuilder
builder()
boolean
equals(java.lang.Object o)
java.net.URI
getOriginalContentUrl()
java.net.URI
getPreviewImageUrl()
QuickReply
getQuickReply()
Sender
getSender()
int
hashCode()
ImageMessage.ImageMessageBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ImageMessage
public ImageMessage(java.net.URI originalContentUrl, java.net.URI previewImageUrl)
Constructor withoutquickReply
parameter.If you want use
QuickReply
, please usebuilder()
instead.
-
-
Method Detail
-
builder
public static ImageMessage.ImageMessageBuilder builder()
-
toBuilder
public ImageMessage.ImageMessageBuilder toBuilder()
-
getOriginalContentUrl
public java.net.URI getOriginalContentUrl()
-
getPreviewImageUrl
public java.net.URI getPreviewImageUrl()
-
getQuickReply
public QuickReply getQuickReply()
- Specified by:
getQuickReply
in interfaceMessage
-
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
-
-