using IM_API.Dtos.Group;
namespace IM_API.Interface.Services
{
public interface IGroupService
{
///
/// 邀请好友入群
///
/// 操作者ID
/// 群ID
/// 邀请的用户列表
///
Task InviteUsers(int userId,int groupId, List userIds);
///
/// 加入群聊
///
/// 操作者ID
/// 群ID
///
Task JoinGroup(int userId,int groupId);
///
/// 创建群聊
///
/// 操作者ID
/// 群信息
/// 邀请用户列表
///
Task CreateGroup(int userId, GroupCreateDto groupCreateDto, List userIds);
///
/// 删除群
///
/// 操作者ID
/// 群ID
///
Task DeleteGroup(int userId, int groupId);
//Task UpdateGroupAuthori
}
}