@wppconnect-team/wppconnect - v1.36.4
Preparing search index...
WAJS
whatsapp
functions
createGroup
Function createGroup
createGroup
(
groupName
:
string
,
participants
:
WAJS
.
whatsapp
.
Wid
[]
,
ephemeral
?:
number
,
parentGroup
?:
WAJS
.
whatsapp
.
Wid
,
)
:
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
;
invite_code_exp
:
string
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
[]
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
,
>
Parameters
groupName
:
string
participants
:
WAJS
.
whatsapp
.
Wid
[]
Optional
ephemeral
:
number
Optional
parentGroup
:
WAJS
.
whatsapp
.
Wid
Returns
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
;
invite_code_exp
:
string
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
[]
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
,
>
Whatsapp
247355
createGroup
(
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
WAJS
.
whatsapp
.
Wid
;
restrict
:
boolean
;
title
:
string
;
}
,
participants
:
WAJS
.
whatsapp
.
Wid
[]
,
)
:
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
;
invite_code_exp
:
string
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
[]
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
,
>
Parameters
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
WAJS
.
whatsapp
.
Wid
;
restrict
:
boolean
;
title
:
string
;
}
participants
:
WAJS
.
whatsapp
.
Wid
[]
Returns
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
;
invite_code_exp
:
string
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
[]
;
wid
:
WAJS
.
whatsapp
.
Wid
;
}
,
>
Whatsapp
247355
Settings
Member Visibility
External
Theme
OS
Light
Dark
@wppconnect-team/wppconnect - v1.36.4
Loading...
Whatsapp
247355