Function create_message

Source
pub async fn create_message(
    configuration: &Configuration,
    account_sid: &str,
    to: &str,
    status_callback: Option<&str>,
    application_sid: Option<&str>,
    max_price: Option<f32>,
    provide_feedback: Option<bool>,
    attempt: Option<i32>,
    validity_period: Option<i32>,
    force_delivery: Option<bool>,
    content_retention: Option<&str>,
    address_retention: Option<&str>,
    smart_encoded: Option<bool>,
    persistent_action: Option<Vec<String>>,
    shorten_urls: Option<bool>,
    schedule_type: Option<&str>,
    send_at: Option<String>,
    send_as_mms: Option<bool>,
    content_sid: Option<&str>,
    content_variables: Option<&str>,
    from: Option<&str>,
    messaging_service_sid: Option<&str>,
    body: Option<&str>,
    media_url: Option<Vec<String>>,
) -> Result<ApiPeriodV2010PeriodAccountPeriodMessage, Error<CreateMessageError>>
Expand description

Send a message from the account used to make the request