@wppconnect-team/wppconnect - v1.36.4
Preparing search index...
WAJS
group
ensureGroupAndParticipants
Function ensureGroupAndParticipants
ensureGroupAndParticipants
(
groupId
:
string
|
WAJS
.
whatsapp
.
Wid
,
participantsIds
:
|
string
|
WAJS
.
whatsapp
.
Wid
|
(
string
|
WAJS
.
whatsapp
.
Wid
)
[]
,
createIfNotExists
?:
boolean
,
)
:
Promise
<
{
groupChat
:
ChatModel
;
participants
:
ParticipantModel
[]
}
>
Parameters
groupId
:
string
|
WAJS
.
whatsapp
.
Wid
participantsIds
:
string
|
WAJS
.
whatsapp
.
Wid
|
(
string
|
WAJS
.
whatsapp
.
Wid
)
[]
Optional
createIfNotExists
:
boolean
Returns
Promise
<
{
groupChat
:
ChatModel
;
participants
:
ParticipantModel
[]
}
>
Settings
Member Visibility
External
Theme
OS
Light
Dark
@wppconnect-team/wppconnect - v1.36.4
Loading...