Skip to content

Commit

Permalink
feat(WebhookMessage): add GET route types (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaporoxx committed Apr 15, 2021
1 parent 9817623 commit 3294fb1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deno/rest/v8/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ export type RESTPatchAPIWebhookWithTokenMessageFormDataBody =
file: unknown;
});

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

/**
* https://discord.com/developers/docs/resources/webhook#edit-webhook-message
*/
Expand Down
5 changes: 5 additions & 0 deletions rest/v8/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ export type RESTPatchAPIWebhookWithTokenMessageFormDataBody =
file: unknown;
});

/**
* https://discord.com/developers/docs/resources/webhook#get-webhook-message
*/
export type RESTGetAPIWebhookWithTokenMessageResult = APIMessage;

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

0 comments on commit 3294fb1

Please sign in to comment.