diff --git a/deno/rest/v10/webhook.ts b/deno/rest/v10/webhook.ts index 84a019e2..925bb340 100644 --- a/deno/rest/v10/webhook.ts +++ b/deno/rest/v10/webhook.ts @@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly * @remarks * Polls can only be added when editing a deferred interaction response. */ - poll?: RESTAPIPollCreate | undefined; + poll?: RESTAPIPoll | undefined; }; /** diff --git a/deno/rest/v9/webhook.ts b/deno/rest/v9/webhook.ts index 06ae1d8c..3e2847bf 100644 --- a/deno/rest/v9/webhook.ts +++ b/deno/rest/v9/webhook.ts @@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly * @remarks * Polls can only be added when editing a deferred interaction response. */ - poll?: RESTAPIPollCreate | undefined; + poll?: RESTAPIPoll | undefined; }; /** diff --git a/rest/v10/webhook.ts b/rest/v10/webhook.ts index a013c578..9dfd682c 100644 --- a/rest/v10/webhook.ts +++ b/rest/v10/webhook.ts @@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly * @remarks * Polls can only be added when editing a deferred interaction response. */ - poll?: RESTAPIPollCreate | undefined; + poll?: RESTAPIPoll | undefined; }; /** diff --git a/rest/v9/webhook.ts b/rest/v9/webhook.ts index cb92149e..7afc8b39 100644 --- a/rest/v9/webhook.ts +++ b/rest/v9/webhook.ts @@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly * @remarks * Polls can only be added when editing a deferred interaction response. */ - poll?: RESTAPIPollCreate | undefined; + poll?: RESTAPIPoll | undefined; }; /**