Class ImageMessage

java.lang.Object
com.whatsapp.api.domain.messages.MediaMessage<ImageMessage>
com.whatsapp.api.domain.messages.ImageMessage

public class ImageMessage extends MediaMessage<ImageMessage>
The type Image message.
  • Constructor Details

    • ImageMessage

      public ImageMessage()
  • Method Details

    • getCaption

      public String getCaption()
      Gets caption.
      Returns:
      the caption
    • setCaption

      public ImageMessage setCaption(String caption)
      Sets caption.
      Parameters:
      caption - Describes the specified image, document, or video media. Do not use with audio or sticker media.
      Returns:
      the caption