using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using GxPress.Request.App.IM;
using GxPress.Request.GroupChat;
using GxPress.Result.App.IM;
namespace GxPress.Service.Interface.IM
{
///
///环信IM接口
///
public interface IIMService : IService
{
///
/// 采集聊天数据
///
///
Task GatherChatDataAsync();
///
/// 强制用户下线
///
///
///
Task DisconnectAsync(string phone);
///
/// 创建群聊
///
///
///
Task CreateGroupChatAsync(GroupChatInRequest request);
///
/// 群插入用户
///
///
///
Task InsertGroupChatUsersAsync(InsertGroupChatUsersRequest request);
///
/// 群删除用户
///
///
///
Task RemoveGroupChatUsersAsync(InsertGroupChatUsersRequest request);
Task GetTokenImAsync();
Task DeleteUserAsync(string imId);
///
/// 解除禁言
///
///
///
Task RemoveMute(string groupChatImId);
///
/// 添加禁言
///
///
///
Task InMute(string groupChatImId);
///
/// 添加用户黑名单
///
///
///
///
Task AddBlacklistUserAsync(int userId, int blacklistUserId);
///
/// 移除黑名单
///
///
///
Task ReMoveBlacklistUserAsync(int blacklistId,int userId);
///
/// 根据ImId删除群组
///
///
///
Task DeleteGroupChatAsync(string groupChatImId,int userId);
}
}