selectCommand

fun selectCommand(command: Command)

Switches the message composer to the command input mode.

Sets MessageComposerState.activeCommand and clears the text input so the user can type the command arguments. The full /command args string is assembled in buildNewMessage.

Parameters

command

The command that was selected.