diff --git a/deno/rest/v10/user.ts b/deno/rest/v10/user.ts index e15572c8..e3f3da76 100644 --- a/deno/rest/v10/user.ts +++ b/deno/rest/v10/user.ts @@ -101,7 +101,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * The recipient to open a DM channel with */ - recipient_id: string; + recipient_id: Snowflake; } /** diff --git a/deno/rest/v9/user.ts b/deno/rest/v9/user.ts index 7e3e2ef7..e66bfe3c 100644 --- a/deno/rest/v9/user.ts +++ b/deno/rest/v9/user.ts @@ -101,7 +101,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * The recipient to open a DM channel with */ - recipient_id: string; + recipient_id: Snowflake; } /** diff --git a/rest/v10/user.ts b/rest/v10/user.ts index 5bdb6269..5ff12abd 100644 --- a/rest/v10/user.ts +++ b/rest/v10/user.ts @@ -101,7 +101,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * The recipient to open a DM channel with */ - recipient_id: string; + recipient_id: Snowflake; } /** diff --git a/rest/v9/user.ts b/rest/v9/user.ts index fda9634f..ef9a0c92 100644 --- a/rest/v9/user.ts +++ b/rest/v9/user.ts @@ -101,7 +101,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * The recipient to open a DM channel with */ - recipient_id: string; + recipient_id: Snowflake; } /**