-
Notifications
You must be signed in to change notification settings - Fork 0
/
actions.go
36 lines (28 loc) · 1.4 KB
/
actions.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
26
27
28
29
30
31
32
33
34
35
36
package robotic
import "github.com/glide-im/glide/pkg/messages"
const (
ActionHello messages.Action = "hello"
ActionHeartbeat messages.Action = "heartbeat"
ActionNotifyUnknownAction messages.Action = "notify.unknown.action"
ActionChatMessage messages.Action = "message.chat"
ActionChatMessageResend messages.Action = "message.chat.resend"
ActionGroupMessage messages.Action = "message.group"
ActionMessageFailed messages.Action = "message.failed.send"
ActionNotifyNeedAuth messages.Action = "notify.auth"
ActionNotifyKickOut messages.Action = "notify.kickout"
ActionNotifyNewContact messages.Action = "notify.contact"
ActionNotifyGroup messages.Action = "notify.group"
ActionNotifyAccountLogin messages.Action = "notify.login"
ActionNotifyAccountLogout messages.Action = "notify.logout"
ActionNotifyError messages.Action = "notify.error"
ActionAckRequest messages.Action = "ack.request"
ActionAckGroupMsg messages.Action = "ack.group.msg"
ActionAckMessage messages.Action = "ack.message"
ActionAckNotify messages.Action = "ack.notify"
ActionApiAuth messages.Action = "api.auth"
ActionApiFailed messages.Action = "api.failed"
ActionApiSuccess messages.Action = "api.success"
ActionClientCustom messages.Action = "message.cli"
NotifyKickOut messages.Action = "notify.kickout"
AckOffline messages.Action = "ack.offline"
)