浏览代码

feat(interactions): added note about modals to InteractionResponse

nitroflap 3 年之前
父节点
当前提交
e44c83a1fc
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"`
 }