class LinkButtonBuilder

extends

LinkButtonBuilder_base
export declare class LinkButtonBuilder extends LinkButtonBuilder_base

A builder that creates API-compatible JSON data for buttons with links.

Constructors

constructor()

Constructs a new instance of the LinkButtonBuilder class

protectedreadonly
data : Partial<APIButtonComponentWithURL>

setURL(
url: string
) : this

Sets the URL for this button.