1 using Microsoft.Extensions.Hosting;
3 using System.Collections.Generic;
5 using System.Threading.Tasks;
20 bool Connected(
long connectionId);
34 Task ChangeSettings(
ChatBot newSettings, CancellationToken cancellationToken);
42 Task DeleteConnection(
long connectionId, CancellationToken cancellationToken);
51 Task ChangeChannels(
long connectionId, IEnumerable<Api.Models.ChatChannel> newChannels, CancellationToken cancellationToken);
60 Task SendMessage(
string message, IEnumerable<ulong> channelIds, CancellationToken cancellationToken);
68 Task SendWatchdogMessage(
string message, CancellationToken cancellationToken);
76 Task SendUpdateMessage(
string message, CancellationToken cancellationToken);
86 Task<IJsonTrackingContext> TrackJsons(
string basePath,
string channelsJsonName,
string commandsJsonName, CancellationToken cancellationToken);
Use server authentication
Manage the server chat bots
For managing connected chat services
Handles Commands.ICommands that map to those defined in a IJsonTrackingContext