messagebird-async
MessageBird is a service for sending SMS at its core https://www.messagebird.com/
Example
Send a SMS Message
Sending a sms to a specified target is implemented in examples/send.rs
:
The SMS_RECIPIENT
should NOT contain leading zeros nor the +
. The countrycode is still necessary.
or copy & paste:
extern crate log;
extern crate env_logger;
extern crate futures;
extern crate messagebird_async;
extern crate tokio_core;
use Future;
use *;
use sms;
use *;
Features
Currently the planned features only include to send SMS and query SMS stati.
RoadMap
- serde impl for all relevant datatypes
- roundtrip decode encode tests
- use
crate serde_plain
fortrait ToString
andtrait FromStr
for objects which are used in query filters and payload www urlencode - future for SMS sending and retrieval based on hyper.rs
- send SMS example using tokio as executor
- future for listing SMS
- listing SMS examples using tokio as executor
- write proper documentation
- future for callback on SMS reception
- callback example using tokio as executor
MessageBird APIs
-
SMS
(WIP) -
Contacts
(low prio) -
MMS
(*) -
Conversation
(*) -
VoiceMessaging
(*) -
VoiceCalling
(*)
* = not planned, unless external contributors step up
License
MIT or Apache-2.0
If neither of those works for you, feel free to request so via a github issue.
Donations
Since I am not affiliated with MessageBird in any kind (other than being their customer) I'd be delighted if you'd leave a tipp