Methods
create
- create(name: string, participants: string[]): Promise<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}>
-
Parameters
-
name: string
-
participants: string[]
Returns Promise<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}>
delete
- delete(id: string): Promise<void>
-
Returns Promise<void>
fetch
- fetch(): Observable<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}[]>
-
Returns Observable<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}[]>
update
- update(id: string, name: string, participants: readonly string[]): Promise<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}>
-
Parameters
-
id: string
-
name: string
-
participants: readonly string[]
Returns Promise<{
chatId: string;
groupId: string;
name: string;
owner: { readonly id: string; };
participants: readonly string[];
ringingStrategy: { readonly type: "sequential" | "simultaneous"; readonly properties?: { readonly delay: number; readonly steps: number; } | undefined; };
}>