Ver Fonte

feat(interactions): added note about modals to InteractionResponse

nitroflap há 3 anos atrás
pai
commit
e44c83a1fc
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      interactions.go

+ 2 - 0
interactions.go

@@ -470,6 +470,8 @@ type InteractionResponseData struct {
 	// NOTE: autocomplete interaction only.
 	Choices []*ApplicationCommandOptionChoice `json:"choices,omitempty"`
 
+	// NOTE: modal interaction only.
+
 	CustomID string `json:"custom_id,omitempty"`
 	Title    string `json:"title,omitempty"`
 }