sms
The sms
reply type is used for sending SMS messages to the specified phone number.
Properties
Property | Type | Required | Description |
---|---|---|---|
text | String | Yes | Message content. |
destination | String | Yes | Receiver phone number. |
providerConfiguration | Object | No | Provider configuration. |
caution
SMS messages can only be sent to phone numbers registered in Russia. The phone number specified in the
destination
property must begin with 7
.Provider configuration
The providerConfiguration
allows you to customize the SMS message sender ID.
Its value should contain the following properties:
Property | Type | Required | Description |
---|---|---|---|
type | String | Yes | Provider name. Must have the value of I_DIGITAL . |
nodeId | String | Yes | Node ID. |
password | String | Yes | Password. |
source | String | No | SMS sender ID. |
Syntax
{
"type": "sms",
"text": "Today only, 10% off all our subscription plans!",
"destination": "79123456789",
"providerConfiguration": {
"type": "I_DIGITAL",
"nodeId": "12345",
"password": "Qwerty",
"source": "Just AI"
}
}
Channel restrictions
sms
is not supported in the following channels:
- edna.chatCenter
- Google Assistant
- Odnoklassniki
- Slack