Function ensureGroupAndParticipants
- ensureGroupAndParticipants(
groupId: string | Wid,
participantsIds: string | Wid | (string | Wid)[],
createIfNotExists?: boolean,
): Promise<{ groupChat: ChatModel; participants: ParticipantModel[] }> Parameters
- groupId: string | Wid
- participantsIds: string | Wid | (string | Wid)[]
- createIfNotExists: boolean = false