intistelecom-rs

Crates.iointistelecom-rs
lib.rsintistelecom-rs
version0.1.2
sourcesrc
created_at2023-08-18 10:07:08.152518
updated_at2023-08-22 10:53:01.807872
descriptionWith the intistele.com, you can access and organise SMS mailouts from your own software via API
homepage
repositoryhttps://github.com/pixel365/intistelecom-rs
max_upload_size
id947742
size57,946
Ruslan Semagin (pixel365)

documentation

README

Intistele.com

With the intistele.com, you can access and organise SMS mailouts from your own software via API
Intistele.com documentation

Quickstart

use intistelecom_rs::{
    client::Client,
    message::send,
    model::message::MessageBody,
};

fn main() {
    let client: Client = Client::new("YOUR_USERNAME", "YOUR_API_KEY");
    let res = send(
        &client,
        &mut MessageBody {
            destination: String::from("PHONE_NUMBER"),
            originator: String::from("ORIGINATOR_NAME"),
            text: String::from("SOME TEXT"),
            time_to_send: String::from("2023-08-01 11:20:00"),
            validity_period: 0,
            callback_url: String::from(""),
            use_local_time: false,
        },
    );
    println!("{:#?}", res);
}

Commit count: 2

cargo fmt