File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,13 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
267
267
* See https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
268
268
*/
269
269
attachments ?: RESTAPIAttachment [ ] | undefined ;
270
+ /**
271
+ * A poll!
272
+ *
273
+ * @remarks
274
+ * Polls can only be added when editing a deferred interaction response.
275
+ */
276
+ poll ?: RESTAPIPollCreate | undefined ;
270
277
} ;
271
278
272
279
/**
Original file line number Diff line number Diff line change @@ -267,6 +267,13 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
267
267
* See https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
268
268
*/
269
269
attachments ?: RESTAPIAttachment [ ] | undefined ;
270
+ /**
271
+ * A poll!
272
+ *
273
+ * @remarks
274
+ * Polls can only be added when editing a deferred interaction response.
275
+ */
276
+ poll ?: RESTAPIPollCreate | undefined ;
270
277
} ;
271
278
272
279
/**
Original file line number Diff line number Diff line change @@ -267,6 +267,13 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
267
267
* See https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
268
268
*/
269
269
attachments ?: RESTAPIAttachment [ ] | undefined ;
270
+ /**
271
+ * A poll!
272
+ *
273
+ * @remarks
274
+ * Polls can only be added when editing a deferred interaction response.
275
+ */
276
+ poll ?: RESTAPIPollCreate | undefined ;
270
277
} ;
271
278
272
279
/**
Original file line number Diff line number Diff line change @@ -267,6 +267,13 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
267
267
* See https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
268
268
*/
269
269
attachments ?: RESTAPIAttachment [ ] | undefined ;
270
+ /**
271
+ * A poll!
272
+ *
273
+ * @remarks
274
+ * Polls can only be added when editing a deferred interaction response.
275
+ */
276
+ poll ?: RESTAPIPollCreate | undefined ;
270
277
} ;
271
278
272
279
/**
You can’t perform that action at this time.
0 commit comments