Class ImageMessage

  • All Implemented Interfaces:
    Message

    public final class ImageMessage
    extends java.lang.Object
    implements Message
    Image message.
    • Constructor Detail

      • ImageMessage

        public ImageMessage​(java.net.URI originalContentUrl,
                            java.net.URI previewImageUrl)
        Constructor without quickReply parameter.

        If you want use QuickReply, please use builder() instead.

    • Method Detail

      • getOriginalContentUrl

        public java.net.URI getOriginalContentUrl()
      • getPreviewImageUrl

        public java.net.URI getPreviewImageUrl()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object