Skip to content

Commit 343fc95

Browse files
committed
docs(RESTGetAPIInviteQuery): add deprecation
1 parent d12dcb1 commit 343fc95

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
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
/**

deno/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
/**

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)