蛋蛋星球-制度模式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

  1. package md
  2. const IMEggEnergyExchange = "im.egg.energy"
  3. const (
  4. IMEggEnergyRoutKeyForBatchSendMessageData = "batch_send_message_data" // 批量发送信息
  5. IMEggEnergyRoutKeyForDelFriendCircleCommentData = "del_friend_circle_comment_data" // 删除朋友圈评论
  6. IMEggEnergyRoutKeyForSendRedPackage = "send_red_package" // 发红包
  7. )
  8. type IMEggEnergyStructForBatchSendMessageData struct {
  9. ReceiverType int `json:"receiver_type"` // 接受者类型 1:用户 2:群组
  10. MessageType int `json:"message_type"` // 消息类型(0未知 1文本 2表情 3语音消息 4图片 5文件 6地理位置 7指令推送 8自定义 9撤回消息 10红包消息)
  11. SendId int64 `json:"send_id"` // 发送者 id
  12. ReceiveIMId int64 `json:"receive_id"` // 接受者IM id
  13. Content string `json:"content"` // 消息内容
  14. }
  15. type IMEggEnergyStructForDelFriendCircleCommentData struct {
  16. CommentIndexId string `json:"comment_index_id"` // 文章索引
  17. }
  18. type IMEggEnergyStructForSendRedPackageData struct {
  19. Uid int64 `json:"uid"`
  20. }