Net.Like.Xue.Tokyo/Packages-Local/Net.BITKit.Chat/IChatFriendService.cs

17 lines
692 B
C#
Raw Permalink Normal View History

2025-06-24 23:49:13 +08:00
using System;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
namespace Net.BITKit.Chat
{
public interface IChatFriendService
{
public UniTask<IReadOnlyList<ChatUserData>> GetFriendsAsync(string userId);
public UniTask RequestFriendAsync(string userId,string friendId);
public UniTask RemoveFriendAsync(string userId,string friendId);
public UniTask<IReadOnlyList<ChatUserData>> GetFriendRequestsAsync(string userId);
public UniTask AcceptFriendRequestAsync(string userId,string friendId);
public UniTask RejectFriendRequestAsync(string userId,string friendId);
}
}