net.optionfactory.whatsapp.dto.webhook.Interactive Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.webhook;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type Interactive.
*
* @param listReply Used on Webhooks related to List Messages Contains a list {@link ListReply} object.
* @param type Contains the type of interactive object. Supported options are: - button_reply: for responses of Reply Buttons.
- list_reply: for responses to List Messages and other interactive objects.
* @param buttonReply Used on Webhooks related to Reply Buttons. Contains a {@link ButtonReply} reply object.
*/
public record Interactive(
@JsonProperty("list_reply") ListReply listReply,
@JsonProperty("type") String type,
@JsonProperty("button_reply") ButtonReply buttonReply,
@JsonProperty("nfm_reply") NfmReply nfmReply
) {
}