Skip to content

Commit

Permalink
fix(RESTPostAPIWebhookWithTokenJSONBody): thread_name should be opt…
Browse files Browse the repository at this point in the history
…ional (#479)
  • Loading branch information
kyranet committed Jun 6, 2022
1 parent d268e0b commit eff8892
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/rest/v10/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
*
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
*/
thread_name: string;
thread_name?: string;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v9/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
*
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
*/
thread_name: string;
thread_name?: string;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion rest/v10/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
*
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
*/
thread_name: string;
thread_name?: string;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion rest/v9/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
*
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
*/
thread_name: string;
thread_name?: string;
}>;

/**
Expand Down

0 comments on commit eff8892

Please sign in to comment.