setClickAction

fun setClickAction(action: String): TextComponent

Sets the action to be performed when the component is clicked on. Possible actions include:

  • open_url

  • open_file

  • run_command

  • suggest_command

  • change_page

Parameters

action

the click action

Sources

Link copied to clipboard