Interface RawInvite

interface RawInvite {
    approximate_member_count?: number;
    approximate_presence_count?: number;
    channel?: PartialChannel;
    channel_id?: string;
    code: string;
    created_at?: string;
    expires_at?: string;
    flags?: number;
    guild?: RawInviteGuild;
    guild_id?: string;
    guild_scheduled_event?: RawScheduledEvent;
    inviter?: RawUser;
    max_age?: number;
    max_uses?: number;
    roles?: RawInviteRole[];
    stage_instance?: RawInviteStageInstance;
    target_application?: RawPartialApplication;
    target_type?: InviteTargetTypes;
    target_user?: RawUser;
    temporary?: boolean;
    type: InviteTypes;
    uses?: number;
}

Properties

approximate_member_count?: number
approximate_presence_count?: number
channel?: PartialChannel
channel_id?: string
code: string
created_at?: string
expires_at?: string
flags?: number
guild_id?: string
guild_scheduled_event?: RawScheduledEvent
inviter?: RawUser
max_age?: number
max_uses?: number
roles?: RawInviteRole[]
stage_instance?: RawInviteStageInstance

Deprecated

target_application?: RawPartialApplication
target_type?: InviteTargetTypes
target_user?: RawUser
temporary?: boolean
uses?: number