Skip to content

Commit eff8892

Browse files
authored
fix(RESTPostAPIWebhookWithTokenJSONBody): thread_name should be optional (#479)
1 parent d268e0b commit eff8892

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deno/rest/v10/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
149149
*
150150
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
151151
*/
152-
thread_name: string;
152+
thread_name?: string;
153153
}>;
154154

155155
/**

deno/rest/v9/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
149149
*
150150
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
151151
*/
152-
thread_name: string;
152+
thread_name?: string;
153153
}>;
154154

155155
/**

rest/v10/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
149149
*
150150
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
151151
*/
152-
thread_name: string;
152+
thread_name?: string;
153153
}>;
154154

155155
/**

rest/v9/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
149149
*
150150
* Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter
151151
*/
152-
thread_name: string;
152+
thread_name?: string;
153153
}>;
154154

155155
/**

0 commit comments

Comments
 (0)