diff --git a/src/Tgstation.Server.Client/Components/IAdministrationClient.cs b/src/Tgstation.Server.Client/Components/IAdministrationClient.cs index 0931621521..a68aeb5cfe 100644 --- a/src/Tgstation.Server.Client/Components/IAdministrationClient.cs +++ b/src/Tgstation.Server.Client/Components/IAdministrationClient.cs @@ -1,5 +1,4 @@ -using System; -using System.Threading; +using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Rights; diff --git a/src/Tgstation.Server.Client/Components/IChatClient.cs b/src/Tgstation.Server.Client/Components/IChatClient.cs new file mode 100644 index 0000000000..47cc7ce057 --- /dev/null +++ b/src/Tgstation.Server.Client/Components/IChatClient.cs @@ -0,0 +1,28 @@ +using System.Threading; +using System.Threading.Tasks; +using Tgstation.Server.Api.Models; +using Tgstation.Server.Api.Rights; + +namespace Tgstation.Server.Client.Components +{ + /// + /// For managing server administration + /// + public interface IChatClient : IRightsClient + { + /// + /// Get the represented by the + /// + /// The for the operation + /// A resulting in the represented by the + Task Read(CancellationToken cancellationToken); + + /// + /// Updates the setttings + /// + /// The to update + /// The for the operation + /// A representing the running operation + Task Update(Chat chat, CancellationToken cancellationToken); + } +}