net.optionfactory.whatsapp.dto.webhook.Contact Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.webhook;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* The type Contact.
*
* @param profile The {@link Profile} object.
* @param waId The WhatsApp ID of the customer. You can send messages using this wa_id.
*/
public record Contact(
@JsonProperty("profile") Profile profile,
@JsonProperty("name") Name name,
@JsonProperty("phones") List phones,
@JsonProperty("wa_id") String waId) {
}