pub struct SendMessage {
pub message_type: String,
pub contact_id: String,
pub message: Option<String>,
pub subject: Option<String>,
pub html: Option<String>,
pub attachments: Vec<String>,
}Expand description
Payload for ConversationsService::send_message.
Fields§
§message_type: StringChannel: SMS, Email, WhatsApp, IG, FB, Custom, Live_Chat.
contact_id: String§message: Option<String>§subject: Option<String>Email subject (email only).
html: Option<String>§attachments: Vec<String>Trait Implementations§
Source§impl Clone for SendMessage
impl Clone for SendMessage
Source§fn clone(&self) -> SendMessage
fn clone(&self) -> SendMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendMessage
impl Debug for SendMessage
Source§impl Default for SendMessage
impl Default for SendMessage
Source§fn default() -> SendMessage
fn default() -> SendMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendMessage
impl RefUnwindSafe for SendMessage
impl Send for SendMessage
impl Sync for SendMessage
impl Unpin for SendMessage
impl UnsafeUnpin for SendMessage
impl UnwindSafe for SendMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more