@wppconnect-team/wppconnect - v1.36.4
Preparing search index...
WAJS
whatsapp
MediaPrep
MediaPrep
Class MediaPrep
Index
Constructors
constructor
Methods
send
To
Chat
wait
For
Prep
Constructors
constructor
new
MediaPrep
(
type
:
OUTWARD_TYPES
,
p
:
any
)
:
WAJS
.
whatsapp
.
MediaPrep
.
MediaPrep
Parameters
type
:
OUTWARD_TYPES
p
:
any
Returns
WAJS
.
whatsapp
.
MediaPrep
.
MediaPrep
Methods
send
To
Chat
sendToChat
(
e
:
ChatModel
,
options
:
{
caption
?:
string
;
ctwaContext
?:
any
;
footer
?:
string
;
forwardedFromWeb
?:
boolean
;
forwardingScore
?:
any
;
isForwarded
?:
boolean
;
isViewOnce
?:
boolean
;
mentionedJidList
?:
any
;
multicast
?:
any
;
productMsgOptions
?:
ModelPropertiesContructor
<
MsgModel
>
;
quotedMsg
?:
MsgModel
;
type
?:
string
;
}
,
)
:
Promise
<
SendMsgResult
>
Parameters
e
:
ChatModel
options
:
{
caption
?:
string
;
ctwaContext
?:
any
;
footer
?:
string
;
forwardedFromWeb
?:
boolean
;
forwardingScore
?:
any
;
isForwarded
?:
boolean
;
isViewOnce
?:
boolean
;
mentionedJidList
?:
any
;
multicast
?:
any
;
productMsgOptions
?:
ModelPropertiesContructor
<
MsgModel
>
;
quotedMsg
?:
MsgModel
;
type
?:
string
;
}
Returns
Promise
<
SendMsgResult
>
wait
For
Prep
waitForPrep
()
:
Promise
<
MediaDataModel
>
Returns
Promise
<
MediaDataModel
>
Settings
Member Visibility
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
send
To
Chat
wait
For
Prep
@wppconnect-team/wppconnect - v1.36.4
Loading...