net.optionfactory.whatsapp.dto.messages.Footer Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.messages;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* An object with the footer of the message
*
* The footer object contains the following field:
*
* - text: Required if footer is present - The footer content. Emojis, markdown, and links are supported. Maximum length: 60 characters
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Footer {
/**
* The Text.
*/
@JsonProperty("text")
public String text;
/**
* Gets text.
*
* @return the text
*/
public String getText() {
return text;
}
/**
* Sets text.
*
* @param text the text
* @return the text
*/
public Footer setText(String text) {
this.text = text;
return this;
}
}