fix: replace deprecated RESTAPIPollCreate with RESTAPIPoll (#1091)

This commit is contained in:
Danial Raza
2024-09-05 18:01:05 +02:00
committed by GitHub
parent 344274b56c
commit d3b5187c77
4 changed files with 4 additions and 4 deletions

View File

@@ -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;
};
/**

View File

@@ -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;
};
/**

View File

@@ -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;
};
/**

View File

@@ -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;
};
/**