Search...

InvitesAPI

No summary provided.
declare class InvitesAPI 
declare class InvitesAPI 

constructor(rest)

Constructs a new instance of the InvitesAPI class
NameTypeOptionalDescription
restRESTNoNone

delete(code, reason?)

:

Promise<void>

Deletes an invite
NameTypeOptionalDescription
codestringNoThe invite code
reasonstringYesThe reason for deleting the invite

get(code, options?)

:

Promise<discord_api_types_v10.APIInvite>

Fetches an invite
NameTypeOptionalDescription
codestringNoThe invite code
optionsRESTGetAPIInviteQueryYesNone