//! Send text messages through Telnyx, or into the log.
//!
//! A text message reaches a user who isn't reading their email, as a sign-in code or an urgent
//! alert does. `sms::to` names the recipient, and `send` or `queue` sends a message:
//!
//! ```no_run
//! use laravel::sms;
//! use laravel::time::ToSpan;
//!
//! # async fn example() -> laravel::Result<()> {
//! sms::to("+15555550123").send("Your sign-in code is 913642").await?;
//! sms::to("+15555550123").queue("Your order shipped.").delay(5.minutes()).await?;
//! sms::to("+15555550123").sender("alerts").send("The deploy finished.").await?;
//! # Ok(()) }
//! ```
//!
//! Each send checks the message before it returns, so an invalid number, an empty text, or a
//! `from` value with control characters fails the send. Laravel doesn't count or split the
//! text. Named senders choose the provider. The `SMS_SENDER` variable selects the default, which
//! must exist when the application boots. A missing Telnyx key fails when you send, not at
//! startup.
//!
//! Each send runs in an `sms.send` span with the sender's name, its driver, the message's ID, and
//! the provider's message ID. A successful send logs `SMS sent` at `debug`. Both use the
//! `laravel::sms` target. The [SMS guide] covers configuration, phone numbers, and testing with
//! [`fake`](fake()).
//!
//! [SMS guide]: https://github.com/laravel/rust-framework/blob/0.x/docs/sms.md
pub use *;
pub use ;