| 1 |
// Package signal provides functionality to send notifications via Signal Messenger |
| 2 |
// through REST API servers that wrap the signal-cli command-line interface. |
| 3 |
// |
| 4 |
// This service supports sending text messages and base64-encoded attachments to |
| 5 |
// individual phone numbers, Signal usernames (u:name), and Signal groups. |
| 6 |
// Optional text_mode=styled enables markup in the message body. A title is |
| 7 |
// prepended to the body because Signal has no separate title field. |
| 8 |
// Authentication supports both HTTP Basic Auth and Bearer tokens. |
| 9 |
// |
| 10 |
// It requires a Signal API server (such as signal-cli-rest-api or secured-signal-api) |
| 11 |
// to be running and configured with a registered Signal account. |
| 12 |
// |
| 13 |
// URL format: signal://[user:pass@]host:port/source_phone/recipient1/recipient2 |
| 14 |
// URL format: signal://host:port/source_phone/recipient1?token=apikey&textmode=styled |
| 15 |
// |
| 16 |
// For setup instructions and API server options, see the service documentation. |
| 17 |
package signal |