mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 10:43:30 +00:00
api: omitempty InteractionResponseData.Choices
This commit is contained in:
parent
d62c1169b5
commit
a25b21d020
|
@ -83,7 +83,7 @@ type InteractionResponseData struct {
|
|||
// Choices are the results to display on autocomplete interaction events.
|
||||
//
|
||||
// During all other events, this should not be provided.
|
||||
Choices AutocompleteChoices `json:"choices"`
|
||||
Choices AutocompleteChoices `json:"choices,omitempty"`
|
||||
|
||||
// CustomID used with the modal
|
||||
CustomID option.NullableString `json:"custom_id,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue