first commit

This commit is contained in:
Yangtao
2025-11-18 17:48:20 +08:00
commit 6e56cab848
196 changed files with 65809 additions and 0 deletions

View File

@ -0,0 +1,33 @@
package Netease
type ImResponse struct {
Code int `json:"code"`
Desc interface{} `json:"desc"`
}
// 获取聊天室在线列表返回对象
type GetChatroomMemberResponse struct {
Data []ChatroomMemberDTO `json:"data"`
}
// 聊天室会员
type ChatroomMemberDTO struct {
RoomId int `json:"roomid"`
AccId string `json:"accid"`
OnlineStat bool `json:"onlineStat"`
}
// 创建聊天室返回结果
type CreateChatroomResponse struct {
Code int `json:"code"`
Chatroom NeteaseChatroomDTO `json:"chatroom"`
}
// 聊天室会员
type NeteaseChatroomDTO struct {
RoomId int `json:"roomid"`
Valid bool `json:"valid"`
RoomName string `json:"name"`
Ext string `json:"ext"`
Creator string `json:"creator"`
}