net.optionfactory.whatsapp.dto.webhook.Audio Maven / Gradle / Ivy
package net.optionfactory.whatsapp.dto.webhook;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The type Audio.
*
* @param sha256 The checksum of the media.
* @param mimeType The mime type of the media. The caption that describes the media.
* @param id The ID of the medi
*/
public record Audio(
@JsonProperty("mime_type") String mimeType,
@JsonProperty("sha256") String sha256,
@JsonProperty("id") String id,
@JsonProperty("voice") boolean voice
) {
}