Class VideoMessage

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

public class VideoMessage extends MediaMessage<VideoMessage>
The type Video message.
  • Constructor Details

    • VideoMessage

      public VideoMessage()
  • Method Details

    • getCaption

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

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