generated from NdoleStudio/go-http-client
-
Notifications
You must be signed in to change notification settings - Fork 5
/
event_types.go
25 lines (17 loc) · 1.1 KB
/
event_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package httpsms
// EventTypeMessagePhoneReceived is emitted when a new message is received by a mobile phone
const EventTypeMessagePhoneReceived = "message.phone.received"
// EventTypeMessagePhoneSent is emitted when the phone sends a message
const EventTypeMessagePhoneSent = "message.phone.sent"
// EventTypeMessagePhoneDelivered is emitted when the phone delivers a message
const EventTypeMessagePhoneDelivered = "message.phone.delivered"
// EventTypeMessageSendFailed is emitted when the phone could not send
const EventTypeMessageSendFailed = "message.send.failed"
// EventTypeMessageSendExpired is emitted when the phone a message expires
const EventTypeMessageSendExpired = "message.send.expired"
// EventTypePhoneHeartbeatOffline is emitted when the phone is missing a heartbeat
const EventTypePhoneHeartbeatOffline = "phone.heartbeat.offline"
// EventTypePhoneHeartbeatOnline is emitted when the phone is missing a heartbeat
const EventTypePhoneHeartbeatOnline = "phone.heartbeat.online"
// EventTypeMessageCallMissed is emitted when a new message is sent
const EventTypeMessageCallMissed = "message.call.missed"