first commit
This commit is contained in:
10
pkg/common/netease/dto/ImChatroomOnlineMember.go
Normal file
10
pkg/common/netease/dto/ImChatroomOnlineMember.go
Normal file
@ -0,0 +1,10 @@
|
||||
package yunxin
|
||||
|
||||
// 聊天室在线成员对象
|
||||
type ImChatroomOnlineMember struct {
|
||||
MessageRoomId int `json:"roomid"`
|
||||
UserId string `json:"accid"`
|
||||
EnterTime int64 `json:"enterTime"`
|
||||
Type string `json:"type"`
|
||||
OnlineStat bool `json:"onlineStat"`
|
||||
}
|
||||
9
pkg/common/netease/dto/ImUserExtData.go
Normal file
9
pkg/common/netease/dto/ImUserExtData.go
Normal file
@ -0,0 +1,9 @@
|
||||
package yunxin
|
||||
|
||||
// IM用户扩展信息 会话列表用户数据从IM信息获取
|
||||
type ImUserExtData struct {
|
||||
VipLevel string // Vip等级
|
||||
AvatarDecoration string // 头饰
|
||||
GroupType string
|
||||
VipConfig string // json字符串dto.UserVipConfigDTO
|
||||
}
|
||||
7
pkg/common/netease/dto/UpdateRoomInfoRequest.go
Normal file
7
pkg/common/netease/dto/UpdateRoomInfoRequest.go
Normal file
@ -0,0 +1,7 @@
|
||||
package yunxin
|
||||
|
||||
// 更新聊天室信息请求对象
|
||||
type UpdateRoomInfoRequest struct {
|
||||
Roomid string `json:"roomid"` // 房间ID
|
||||
NotifyExt string `json:"notifyExt" // 扩展信息`
|
||||
}
|
||||
Reference in New Issue
Block a user