Search...

InvitesAPI

export declare class InvitesAPI 
export declare class InvitesAPI 

No summary provided.

constructor(rest)

Constructs a new instance of the InvitesAPI class
NameTypeOptionalDescription
restRESTNoNone

delete(code, reason?)

:

Promise<void>

NameTypeOptionalDescription
codestringNoThe invite code
reasonstringYesThe reason for deleting the invite

get(code, options?)

:

Promise<import("discord-api-types/v10").APIInvite>

NameTypeOptionalDescription
codestringNoThe invite code
optionsRESTGetAPIInviteQueryYesNone