2using System.Collections.Generic;
4using System.Threading.Tasks;
28 Task
ChangeSettings(Models.ChatBot newSettings, CancellationToken cancellationToken);
45 Task
ChangeChannels(
long connectionId, IEnumerable<Models.ChatChannel> newChannels, CancellationToken cancellationToken);
71 Models.RevisionInformation revisionInformation,
73 DateTimeOffset? estimatedCompletionTime,
76 bool localCommitPushed);
Represents a message to send to a chat provider.
For managing connected chat services.
void QueueWatchdogMessage(string message)
Queue a chat message to configured watchdog channels.
Task ChangeChannels(long connectionId, IEnumerable< Models.ChatChannel > newChannels, CancellationToken cancellationToken)
Change chat channels.
Task DeleteConnection(long connectionId, CancellationToken cancellationToken)
Disconnects and deletes a given connection.
Action< string, string > QueueDeploymentMessage(Models.RevisionInformation revisionInformation, Version byondVersion, DateTimeOffset? estimatedCompletionTime, string gitHubOwner, string gitHubRepo, bool localCommitPushed)
Send the message for a deployment to configured deployment channels.
void RegisterCommandHandler(ICustomCommandHandler customCommandHandler)
Registers a customCommandHandler to use.
Task ChangeSettings(Models.ChatBot newSettings, CancellationToken cancellationToken)
Change chat settings. If the Api.Models.EntityId.Id is not currently in use, a new connection will be...
Task UpdateTrackingContexts(CancellationToken cancellationToken)
Force an update with the active channels on all active IChatTrackingContexts.
IChatTrackingContext CreateTrackingContext()
Start tracking Commands.CustomCommands and ChannelRepresentations.
void QueueMessage(MessageContent message, IEnumerable< ulong > channelIds)
Queue a chat message to a given set of channelIds .
Represents a tracking of dynamic chat json files.
Handles Commands.ICommands that map to those defined in a IChatTrackingContext.
Represents a component meant to be started and stopped by its parent component.