Interface JSONInvite

interface JSONInvite {
    approximateMemberCount?: number;
    approximatePresenceCount?: number;
    channelID?: string;
    code: string;
    createdAt?: number;
    expiresAt?: number;
    guild?: JSONInviteGuild;
    guildID?: string;
    guildScheduledEvent?: JSONScheduledEvent;
    inviter?: string;
    maxAge?: number;
    maxUses?: number;
    stageInstance?: {
        members: string[];
        participantCount: number;
        speakerCount: number;
        topic: string;
    };
    targetApplication?: JSONPartialApplication;
    targetType?: InviteTargetTypes;
    targetUser?: string;
    temporary?: boolean;
    uses?: number;
}

Properties

approximateMemberCount?: number
approximatePresenceCount?: number
channelID?: string
code: string
createdAt?: number
expiresAt?: number
guildID?: string
guildScheduledEvent?: JSONScheduledEvent
inviter?: string
maxAge?: number
maxUses?: number
stageInstance?: {
    members: string[];
    participantCount: number;
    speakerCount: number;
    topic: string;
}

Type declaration

  • members: string[]
  • participantCount: number
  • speakerCount: number
  • topic: string
targetApplication?: JSONPartialApplication
targetType?: InviteTargetTypes
targetUser?: string
temporary?: boolean
uses?: number