net.optionfactory.whatsapp.dto.webhook.System Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.webhook;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type System.
*
* @param newWaId Added to Webhooks for phone number updates. New WhatsApp ID of the customer.
* @param body Describes the system message event. Supported use cases are: Phone number update: for when a user changes from an old number to a new number. Identity update: for when a user identity has changed.
* @param type Supported types are: - user_changed_number: for a user changed number notification.
- user_identity_changed: for user identity changed notification.
*/
public record System(
@JsonProperty("new_wa_id") String newWaId,
@JsonProperty("body") String body,
@JsonProperty("type") String type) {
}