PremiumButtonBuilder

A button that prompts the user to purchase an SKU.

Parameters

skuId

The ID of the SKU to prompt for purchase when clicked.

Constructors

Link copied to clipboard
constructor(skuId: Snowflake)

Properties

Link copied to clipboard

Whether the component is disabled. Defaults to false.

Link copied to clipboard

Functions

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