Parameters
- client: Client
- invite:
| {
_id: string;
channel: string;
creator: string;
expires?: null
| string;
max_uses?: null | number;
server: string;
type: "Server";
uses: number;
}
| {
_id: string;
channel: string;
creator: string;
expires?: null
| string;
max_uses?: null | number;
type: "Group";
uses: number;
}- {
_id: string;
channel: string;
creator: string;
expires?: null | string;
max_uses?: null | number;
server: string;
type: "Server";
uses: number;
}_id: string
channel: string
creator: string
Optionalexpires?: null | string
Optionalmax_uses?: null | number
server: string
type: "Server"
uses: number
- {
_id: string;
channel: string;
creator: string;
expires?: null | string;
max_uses?: null | number;
type: "Group";
uses: number;
}_id: string
channel: string
creator: string
Optionalexpires?: null | string
Optionalmax_uses?: null | number
type: "Group"
uses: number
Invite
Invite of unknown type