1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- 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
- {
-
-
-
- public interface IIMService : IService
- {
-
-
-
-
- Task<bool> GatherChatDataAsync();
-
-
-
-
-
- Task<bool> DisconnectAsync(string phone);
-
-
-
-
-
- Task<CreateGroupChatResult> CreateGroupChatAsync(GroupChatInRequest request);
-
-
-
-
-
- Task<bool> InsertGroupChatUsersAsync(InsertGroupChatUsersRequest request);
-
-
-
-
-
- Task<bool> RemoveGroupChatUsersAsync(InsertGroupChatUsersRequest request);
- Task<bool> GetTokenImAsync();
- Task<bool> DeleteUserAsync(string imId);
-
-
-
-
-
- Task<bool> RemoveMute(string groupChatImId);
-
-
-
-
-
- Task<bool> InMute(string groupChatImId);
-
-
-
-
-
-
- Task<bool> AddBlacklistUserAsync(int userId, int blacklistUserId);
-
-
-
-
-
- Task<bool> ReMoveBlacklistUserAsync(int blacklistId,int userId);
-
-
-
-
-
- Task<bool> DeleteGroupChatAsync(string groupChatImId,int userId);
- }
- }
|