Skip to content

Commit 7d1d55f

Browse files
authored
docs(RESTGetAPIInviteQuery): add deprecation (#1210)
1 parent 04ee6ac commit 7d1d55f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

deno/rest/v10/invite.ts

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/rest/v9/invite.ts

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest/v10/invite.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export interface RESTGetAPIInviteQuery {
1111
with_counts?: boolean;
1212
/**
1313
* Whether the invite should contain the expiration date
14+
*
15+
* @deprecated The expiration date is always returned, regardless of this query parameter.
16+
* @see {@link https://github.com/discord/discord-api-docs/pull/7424}
1417
*/
1518
with_expiration?: boolean;
1619
/**

rest/v9/invite.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export interface RESTGetAPIInviteQuery {
1111
with_counts?: boolean;
1212
/**
1313
* Whether the invite should contain the expiration date
14+
*
15+
* @deprecated The expiration date is always returned, regardless of this query parameter.
16+
* @see {@link https://github.com/discord/discord-api-docs/pull/7424}
1417
*/
1518
with_expiration?: boolean;
1619
/**

0 commit comments

Comments
 (0)