Crate textbelt

Crate textbelt 

Source
Expand description

textbelt-rs logo


textbelt-rs is a Rust library for textbelt. :crab:

Textbelt is an SMS API that is built for developers who just want to send and receive SMS. Sending an SMS is a simple thing. The goal is to provide an API that is correspondingly simple, without requiring account configuration, logins, or extra recurring billing.

Official API documentation: https://docs.textbelt.com/

Use “TextbeltClient” struct.

use textbelt::*;

let tc = TextbeltClient::new("Your textbelt API Key", None);
let phone = "+33601020304";
let message = "Hello from textbelt-rs!";
tc.text(&phone, &message).await?;

Modules§

quota
How to check the api key quota?
status
How to check the delivery status?
text
How to send an text SMS?

Structs§

TextbeltClient
TextbeltClient structure https://docs.textbelt.com/