CommandsClientExtension extension

on

Methods

addCommand(String command, CommandExecutionCallback callback) → void

Available on Client, provided by the CommandsClientExtension extension

Add a command to the command handler. command is its name, and callback is the callback to invoke
parseAndRunCommand(Room? room, String msg, {Event? inReplyTo, String? editEventId, String? txid, String? threadRootEventId, String? threadLastEventId, StringBuffer? stdout}) Future<String?>

Available on Client, provided by the CommandsClientExtension extension

Parse and execute a command on Client level
registerDefaultCommands() → void

Available on Client, provided by the CommandsClientExtension extension

Register all default commands
unregisterAllCommands() → void

Available on Client, provided by the CommandsClientExtension extension

Unregister all commands