Interface ICommandAwareChannel
Extended channel interface for channels that support native command registration (e.g., Discord slash commands, Slack /commands).
public interface ICommandAwareChannel
Methods
RegisterCommandsAsync(ICommandRegistry, CancellationToken)
Registers commands from the registry as platform-native commands. Called after ConnectAsync when commands are available.
Task RegisterCommandsAsync(ICommandRegistry registry, CancellationToken ct = default)
Parameters
registryICommandRegistryctCancellationToken