Skip to main content
Module

x/discord_api_types/rest/v9/invite.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
import type { APIInvite } from '../../payloads/v9/mod.ts';
/** * https://discord.com/developers/docs/resources/invite#get-invite */export interface RESTGetAPIInviteQuery { /** * Whether the invite should contain approximate member counts */ with_counts?: boolean; /** * Whether the invite should contain the expiration date */ with_expiration?: boolean;}
export type RESTGetAPIInviteResult = APIInvite;
/** * https://discord.com/developers/docs/resources/invite#delete-invite */export type RESTDeleteAPIInviteResult = APIInvite;