/*
* Zernio API
*
* API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
*
* The version of the OpenAPI document: 1.17.0
* Contact: support@zernio.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// WebhookPayloadMessageMetadataQuotedMessage : Zernio's own ids for the message this one quote-replies to. Present only when that message is stored; WhatsApp only today.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebhookPayloadMessageMetadataQuotedMessage {
/// Internal id of the stored quoted message.
#[serde(rename = "messageId", skip_serializing_if = "Option::is_none")]
pub message_id: Option<String>,
/// The STORED message's platform id (what message.sent and list-messages return). Can differ from quotedMessageId, because Meta renders one message under a different wamid per perspective.
#[serde(rename = "platformMessageId", skip_serializing_if = "Option::is_none")]
pub platform_message_id: Option<String>,
}
impl WebhookPayloadMessageMetadataQuotedMessage {
/// Zernio's own ids for the message this one quote-replies to. Present only when that message is stored; WhatsApp only today.
pub fn new() -> WebhookPayloadMessageMetadataQuotedMessage {
WebhookPayloadMessageMetadataQuotedMessage {
message_id: None,
platform_message_id: None,
}
}
}