mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
feat(PartialGroupDMChannel): Add recipients & fix name (#6713)
This commit is contained in:
7
typings/index.d.ts
vendored
7
typings/index.d.ts
vendored
@@ -1510,8 +1510,9 @@ export class OAuth2Guild extends BaseGuild {
|
||||
|
||||
export class PartialGroupDMChannel extends Channel {
|
||||
public constructor(client: Client, data: RawPartialGroupDMChannelData);
|
||||
public name: string;
|
||||
public name: string | null;
|
||||
public icon: string | null;
|
||||
public recipients: PartialRecipient[];
|
||||
public iconURL(options?: StaticImageURLOptions): string | null;
|
||||
}
|
||||
|
||||
@@ -4542,6 +4543,10 @@ export type RecursiveArray<T> = ReadonlyArray<T | RecursiveArray<T>>;
|
||||
|
||||
export type RecursiveReadonlyArray<T> = ReadonlyArray<T | RecursiveReadonlyArray<T>>;
|
||||
|
||||
export interface PartialRecipient {
|
||||
username: string;
|
||||
}
|
||||
|
||||
export type PremiumTier = keyof typeof PremiumTiers;
|
||||
|
||||
export interface PresenceData {
|
||||
|
||||
Reference in New Issue
Block a user