copyToClipboard

abstract fun copyToClipboard(text: String)

Copies the given text to the users clipboard when they click on the message.

Cannot be combined with runCommand, openUrl or suggestCommand.

Parameters

text

The text to copy.