add sms to pushbullet doc (#12214)

* add sms to doc

* Fix service payload example

* fix
This commit is contained in:
Franck Nijhof 2020-03-05 11:27:30 +01:00 committed by GitHub
parent 9e80703ad0
commit eb95f2a64c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,20 +113,21 @@ Type | Prefix | Suffix | Example
Device | `device/` | Device nickname | `device/iphone` Device | `device/` | Device nickname | `device/iphone`
Channel | `channel/` | Channel tag | `channel/my_home` Channel | `channel/` | Channel tag | `channel/my_home`
Email | `email/` | Contact's email address | `email/email@example.com` Email | `email/` | Contact's email address | `email/email@example.com`
SMS | `sms/` | Contact's phone number | `sms/0612345678`
If using targets, your own account's email address functions as 'send to all devices'. All targets are verified (if exists) before sending, except email. If using targets, your own account's email address functions as 'send to all devices'. All targets are verified (if exists) before sending, except email.
#### Example service payload #### Example service payload
```json ```yaml
{
"message": "A message for many people", message: A message for many people
"target": [ target:
"device/telephone", - device/telephone
"email/hello@example.com", - email/hello@example.com
"channel/my_home" - channel/my_home
] - sms/0612345678
}
``` ```
To use notifications, please see the [getting started with automation page](/getting-started/automation/). To use notifications, please see the [getting started with automation page](/getting-started/automation/).