csharp/Blazored/Gitter/src/Blazor.Gitter.Library/Model/IChatApi.cs

IChatApi.cs
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Blazor.Gitter.Library
{
    public interface IChatApi
    {
        Task GetCurrentUser();
        Task GetChatUser(string UserId);
        Task GetChatRoomUsers(string RoomId, IRoomUserOptions Options);
        Task GetChatRoom(string UserId, string RoomId);
        Task GetChatRooms(string UserId);
        Task GetChatMessage(string RoomId, string MessageId);
        Task GetChatMessages(string RoomId, IChatMessageOptions Options);
        Task SearchChatMessages(string RoomId, IChatMessageOptions Options);
        Task SendChatMessage(string RoomId, string Message);
        Task EditChatMessage(string RoomId, string MessageId, string Message);
        Task MarkChatMessageAsRead(string UserId, string RoomId, string MessageId);
        void SetAccessToken(string Token);
        IChatMessageOptions GetNewOptions();
    }
}