/*
* 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:** Pass the channel token in **one** place. The API checks JSON body (`token`), then query string (`?token=`), then `Authorization: Bearer` header (preferred in production). **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
*
* The version of the OpenAPI document: 2.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 SendContactRequestContactsInnerPhonesInner {
/// E.164 phone (`+79181976551`). Not a timestamp.
#[serde(rename = "phone", skip_serializing_if = "Option::is_none")]
pub phone: Option<String>,
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<String>,
#[serde(rename = "wa_id", skip_serializing_if = "Option::is_none")]
pub wa_id: Option<String>,
}
impl SendContactRequestContactsInnerPhonesInner {
pub fn new() -> SendContactRequestContactsInnerPhonesInner {
SendContactRequestContactsInnerPhonesInner {
phone: None,
r#type: None,
wa_id: None,
}
}
}