Interface InviteCreatePacket

interface InviteCreatePacket {
    d: {
        channel_id: string;
        code: string;
        created_at: string;
        guild_id?: string;
        inviter?: RawUser;
        max_age: number;
        max_uses: number;
        target_application?: RawPartialApplication;
        target_type?: InviteTargetTypes;
        target_user?: RawUser;
        temporary: boolean;
        type: InviteTypes;
        uses: number;
    };
    op: DISPATCH;
    s: number;
    t: "INVITE_CREATE";
}

Hierarchy (view full)

Properties

d op s t

Properties

d: {
    channel_id: string;
    code: string;
    created_at: string;
    guild_id?: string;
    inviter?: RawUser;
    max_age: number;
    max_uses: number;
    target_application?: RawPartialApplication;
    target_type?: InviteTargetTypes;
    target_user?: RawUser;
    temporary: boolean;
    type: InviteTypes;
    uses: number;
}

Type declaration

s: number
t: "INVITE_CREATE"