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

net.optionfactory.whatsapp.dto.webhook.WebHookEvent Maven / Gradle / Ivy

package net.optionfactory.whatsapp.dto.webhook;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * This class is a representation of the json object sent by the WhatsApp webhook.
 * Whenever a trigger event occurs, the WhatsApp Business Platform sees the event and sends a notification to a Webhook URL you have previously specified.
 * You can get two types of notifications:
* - Received messages: This alert lets you know when you have received a message. These can also be called "inbound notifications" throughout the documentation.
* - Message status and pricing notifications: This alert lets you know when the status of a message has changed —for example, the message has been read or delivered. These can also be called "outbound notifications" throughout the documentation. * * @see Webhooks Setup Guide to more details. **/ public record WebHookEvent(@JsonProperty("entry") List entry, @JsonProperty("object") String object) { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy