generated from NdoleStudio/go-http-client
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from phanhai27/main
Create event types for the library
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" |