@wppconnect/wa-js - v3.19.3
Preparing search index...
whatsapp
functions
createGroup
Function createGroup
createGroup
(
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
Wid
;
restrict
:
boolean
;
title
:
string
;
}
,
participants
:
Wid
[]
,
)
:
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
|
null
;
invite_code_exp
:
string
|
null
;
wid
:
Wid
;
}
[]
;
wid
:
Wid
;
}
,
>
Parameters
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
Wid
;
restrict
:
boolean
;
title
:
string
;
}
participants
:
Wid
[]
Returns
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
|
null
;
invite_code_exp
:
string
|
null
;
wid
:
Wid
;
}
[]
;
wid
:
Wid
;
}
,
>
Whatsapp
247355
createGroup
(
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
Wid
;
restrict
:
boolean
;
title
:
string
;
}
,
participants
:
{
phoneNumber
:
Wid
}
[]
,
)
:
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
|
null
;
invite_code_exp
:
string
|
null
;
wid
:
Wid
;
}
[]
;
wid
:
Wid
;
}
,
>
Parameters
options
:
{
announce
:
boolean
;
ephemeralDuration
:
number
;
memberAddMode
:
boolean
;
membershipApprovalMode
:
boolean
;
parentGroupId
?:
Wid
;
restrict
:
boolean
;
title
:
string
;
}
participants
:
{
phoneNumber
:
Wid
}
[]
Returns
Promise
<
{
participants
:
{
error
:
string
;
invite_code
:
string
|
null
;
invite_code_exp
:
string
|
null
;
wid
:
Wid
;
}
[]
;
wid
:
Wid
;
}
,
>
Whatsapp
247355
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@wppconnect/wa-js - v3.19.3
Loading...
Whatsapp
247355