net.optionfactory.whatsapp.dto.messages.ReadMessage Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.messages;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* To mark the message as read, you must first create Read message object
*
* @see API documentation - messages
*/
public class ReadMessage {
@JsonProperty("messaging_product")
private final String messagingProduct = "whatsapp";
@JsonProperty("status")
private String status = "read";
@JsonProperty("message_id")
private String messageId;
public ReadMessage(String messageId) {
super();
this.messageId = messageId;
}
/**
* @return the status
*/
public String getStatus() {
return status;
}
/**
* @return the messageId
*/
public String getMessageId() {
return messageId;
}
/**
* @return the messagingProduct
*/
public String getMessagingProduct() {
return messagingProduct;
}
}