/*
* 1MSG WhatsApp Business API (Public)
*
* Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
*
* The version of the OpenAPI document: 1.0.0
* Contact: support@1msg.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateReadMessageRequest {
#[serde(rename = "messageId", skip_serializing_if = "Option::is_none")]
pub message_id: Option<String>,
#[serde(rename = "msgId", skip_serializing_if = "Option::is_none")]
pub msg_id: Option<String>,
/// Show WhatsApp typing indicator (max 25s or until reply)
#[serde(rename = "typingIndicator", skip_serializing_if = "Option::is_none")]
pub typing_indicator: Option<bool>,
}
impl CreateReadMessageRequest {
pub fn new() -> CreateReadMessageRequest {
CreateReadMessageRequest {
message_id: None,
msg_id: None,
typing_indicator: None,
}
}
}