Explorar o código

feat(interactions): added note about modals to InteractionResponse

nitroflap %!s(int64=3) %!d(string=hai) anos
pai
achega
e44c83a1fc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"`
 }