Skip to content

Commit

Permalink
feat: add support for the new premium button style (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azn9 authored Jun 21, 2024
1 parent fd0fcc5 commit 864749a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/discord4j/discordjson/json/ComponentData.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.Id;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;

Expand Down Expand Up @@ -63,4 +64,7 @@ static ImmutableComponentData.Builder builder() {
/* Only for user, role, mentionable and channel select menu components */
@JsonProperty("default_values")
Possible<List<SelectDefaultValueData>> defaultValues();

@JsonProperty("sku_id")
Possible<Id> skuId();
}

0 comments on commit 864749a

Please sign in to comment.