LinkButtonBuilder

A button that links to the url.

Parameters

url

The url to open when clicked.

Constructors

Link copied to clipboard
constructor(url: String)

Properties

Link copied to clipboard

Whether the component is disabled. Defaults to false.

Link copied to clipboard

The emoji that appears on the button, either this and/or label need to be set for the button to be valid.

Link copied to clipboard

The text that appears on the button, either this and/or emoji need to be set for the button to be valid.

Link copied to clipboard
var url: String

Functions

Link copied to clipboard
open override fun build(): DiscordChatComponent