Sending messages and OTP via Telegram channel
In addition to SMS and WhatsApp, EnvoiSMS.ma integrates support for the Telegram messaging channel for sending transactional messages and OTP verification codes.
How the Telegram channel works
- Content Type: You can send notifications and OTP verification codes.
- Security: Messages pass securely directly to the user's application.
- Pricing: The cost of a Telegram message is fixed per country, independent of the length of the message (unlike the division by segment of SMS).
Technical integration
To send to this channel via the API, specify "channel": "telegram" in your request body:```json
{
"to": "+212612345678",
"channel": "telegram",
"message": "Votre code de validation est 123456."
}