Skip to content

Commit

Permalink
fix: add missing RESTGetAPIWebhookWithTokenQuery (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Mar 22, 2023
1 parent 08cbcd7 commit 2a78a51
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deno/rest/v10/webhook.ts
Expand Up @@ -237,6 +237,13 @@ export type RESTPostAPIWebhookWithTokenGitHubWaitResult = APIMessage;
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message-query-string-params
*/
export interface RESTGetAPIWebhookWithTokenMessageQuery {
thread_id?: string;
}

/**
* https://discord.com/developers/docs/resources/webhook#edit-webhook-message
*/
Expand Down
7 changes: 7 additions & 0 deletions deno/rest/v9/webhook.ts
Expand Up @@ -237,6 +237,13 @@ export type RESTPostAPIWebhookWithTokenGitHubWaitResult = APIMessage;
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message-query-string-params
*/
export interface RESTGetAPIWebhookWithTokenMessageQuery {
thread_id?: string;
}

/**
* https://discord.com/developers/docs/resources/webhook#edit-webhook-message
*/
Expand Down
7 changes: 7 additions & 0 deletions rest/v10/webhook.ts
Expand Up @@ -237,6 +237,13 @@ export type RESTPostAPIWebhookWithTokenGitHubWaitResult = APIMessage;
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message-query-string-params
*/
export interface RESTGetAPIWebhookWithTokenMessageQuery {
thread_id?: string;
}

/**
* https://discord.com/developers/docs/resources/webhook#edit-webhook-message
*/
Expand Down
7 changes: 7 additions & 0 deletions rest/v9/webhook.ts
Expand Up @@ -237,6 +237,13 @@ export type RESTPostAPIWebhookWithTokenGitHubWaitResult = APIMessage;
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message-query-string-params
*/
export interface RESTGetAPIWebhookWithTokenMessageQuery {
thread_id?: string;
}

/**
* https://discord.com/developers/docs/resources/webhook#edit-webhook-message
*/
Expand Down

1 comment on commit 2a78a51

@vercel
Copy link

@vercel vercel bot commented on 2a78a51 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.