All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.optionfactory.whatsapp.dto.messages.VideoMessage Maven / Gradle / Ivy

package net.optionfactory.whatsapp.dto.messages;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The type Video message.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VideoMessage extends MediaMessage {

    @JsonProperty("caption")
    private String caption;


    /**
     * Gets caption.
     *
     * @return the caption
     */
    public String getCaption() {
        return caption;
    }

    /**
     * Sets caption.
     *
     * @param caption Optional. Describes the specified image, document, or video media. Do not use with audio or sticker media.
     * @return the caption
     */
    public VideoMessage setCaption(String caption) {
        this.caption = caption;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy