go-wxhelper/pkg/wxhelper/chatroom.go

62 lines
1.4 KiB
Go
Raw Normal View History

package wxhelper
import robotModel "wechat-robot/model/robot"
// GetChatRoomDetailInfo
// @description: 获取群聊详情
// @receiver wx
// @param chatRoomId
// @return data
func (wx wxHelper) GetChatRoomDetailInfo(chatRoomId string) (data robotModel.ChatRoomDetailInfo) {
return
}
// AddMemberToChatRoom
// @description: 添加群成员
// @receiver wx
// @param chatRoomId
// @param memberWxIds
// @return err
func (wx wxHelper) AddMemberToChatRoom(chatRoomId string, memberWxIds []string) (err error) {
return
}
// DelMemberFromChatRoom
// @description: 删除群成员
// @receiver wx
// @param chatRoomId
// @param memberWxIds
// @return err
func (wx wxHelper) DelMemberFromChatRoom(chatRoomId string, memberWxIds []string) (err error) {
return
}
// GetMemberFromChatRoom
// @description: 获取群成员
// @receiver wx
// @param chatRoomId
// @return data
func (wx wxHelper) GetMemberFromChatRoom(chatRoomId string) (data robotModel.GroupUser) {
return
}
// InviteMemberToChatRoom
// @description: 邀请入群
// @receiver wx
// @param chatRoomId
// @param memberWxIds
// @return err
func (wx wxHelper) InviteMemberToChatRoom(chatRoomId string, memberWxIds []string) (err error) {
return
}
// ModifyChatRoomNickname
// @description: 修改群内昵称
// @receiver wx
// @param wxId
// @param nickname
// @return err
func (wx wxHelper) ModifyChatRoomNickname(wxId, nickname string) (err error) {
return
}