github.com/glide-im/glide@v1.6.0/im_service/messages/actions.go (about) 1 package messages 2 3 import ( 4 "github.com/glide-im/glide/pkg/messages" 5 ) 6 7 const ( 8 ActionHello messages.Action = "hello" 9 ActionHeartbeat = "heartbeat" 10 ActionNotifyUnknownAction = "notify.unknown.action" 11 12 ActionChatMessage = "message.chat" 13 ActionChatMessageResend = "message.chat.resend" 14 ActionGroupMessage = "message.group" 15 ActionMessageFailed = "message.failed.send" 16 17 ActionNotifyNeedAuth = "notify.auth" 18 ActionNotifyKickOut = "notify.kickout" 19 ActionNotifyNewContact = "notify.contact" 20 ActionNotifyGroup = "notify.group" 21 ActionNotifyAccountLogin = "notify.login" 22 ActionNotifyAccountLogout = "notify.logout" 23 ActionNotifyError = "notify.error" 24 25 ActionAckRequest = "ack.request" 26 ActionAckGroupMsg = "ack.group.msg" 27 ActionAckMessage = "ack.message" 28 ActionAckNotify = "ack.notify" 29 30 ActionApiAuth = "api.auth" 31 ActionApiFailed = "api.failed" 32 ActionApiSuccess = "api.success" 33 34 ActionClientCustom = "message.cli" 35 36 NotifyKickOut messages.Action = "notify.kickout" 37 AckOffline = "ack.offline" 38 )