golang-im聊天
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.

2 年之前
123456789101112
  1. package model
  2. import "gim/pkg/pb"
  3. type Sender struct {
  4. SenderType pb.SenderType // 发送者类型,1:系统,2:用户,3:业务方
  5. SenderId int64 // 发送者id
  6. DeviceId int64 // 发送者设备id
  7. Nickname string // 昵称
  8. AvatarUrl string // 头像
  9. Extra string // 扩展字段
  10. }