using System.Collections.Generic; using System.ServiceModel; namespace TGS.Interface.Components { /// /// Interface for handling chat bot /// [ServiceContract] public interface ITGChat { /// /// Sets a chat provider /// /// The info to set [OperationContract] string SetProviderInfo(ChatSetupInfo info); /// /// Returns for all s /// /// A list of all s [OperationContract] IList ProviderInfos(); /// /// Checks connection status /// /// The type of provider to check if connected /// if connected, otherwise [OperationContract] bool Connected(ChatProvider providerType); /// /// Reconnect a specific to it's chat service /// /// The type of provider to reconnect /// on success, error message on failure [OperationContract] string Reconnect(ChatProvider providerType); } }