pub struct SendMMSParams {
pub did: Option<String>,
pub dst: Option<String>,
pub message: Option<String>,
pub media1: Option<String>,
pub media2: Option<String>,
pub media3: Option<String>,
}Expand description
- Send a MMS message to a Destination Number.
Parameters for Client::send_mms (wire method sendMMS).
Fields§
§did: Option<String>DID Numbers which is sending the message (Example: 5551234567) (required)
dst: Option<String>Destination Number (Example: 5551234568) (required)
message: Option<String>Message to be sent (Example: ‘hello John Smith’ max chars: 2048) (required)
media1: Option<String>Url to media file (Example: ‘https://voip.ms/themes/voipms/assets/img/talent.jpg?v=2’ (optional)
media2: Option<String>Base 64 image encode (Example: data:image/png;base64,iVBORw0KGgoAAAANSUh…) (optional)
media3: Option<String>Empty value (Example: ‘’ ) (optional)
Trait Implementations§
Source§impl Clone for SendMMSParams
impl Clone for SendMMSParams
Source§fn clone(&self) -> SendMMSParams
fn clone(&self) -> SendMMSParams
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 SendMMSParams
impl Debug for SendMMSParams
Source§impl Default for SendMMSParams
impl Default for SendMMSParams
Source§fn default() -> SendMMSParams
fn default() -> SendMMSParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendMMSParams
impl RefUnwindSafe for SendMMSParams
impl Send for SendMMSParams
impl Sync for SendMMSParams
impl Unpin for SendMMSParams
impl UnsafeUnpin for SendMMSParams
impl UnwindSafe for SendMMSParams
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