@wppconnect-team/wppconnect - v2.2.0
Preparing search index...
WAJS
whatsapp
functions
getSearchContext
Function getSearchContext
getSearchContext
(
chat
:
string
|
ChatModel
,
msg
:
string
|
MsgKey
|
MsgModel
,
options
?:
{
isQuotedMsgAvailable
:
boolean
}
,
)
:
{
collection
:
MsgLoad
;
highlightMsg
:
true
;
key
?:
MsgKey
;
msg
?:
MsgModel
}
Parameters
chat
:
string
|
ChatModel
msg
:
string
|
MsgKey
|
MsgModel
Optional
options
:
{
isQuotedMsgAvailable
:
boolean
}
Returns
{
collection
:
MsgLoad
;
highlightMsg
:
true
;
key
?:
MsgKey
;
msg
?:
MsgModel
}
Whatsapp
738599 >= 2.2242.5
getSearchContext
(
params
:
{
chat
:
string
|
ChatModel
;
msgKey
:
string
|
MsgKey
|
MsgModel
;
rootMsg
?:
MsgModel
;
threadId
?:
string
;
}
,
)
:
{
collection
:
MsgLoad
;
highlightMsg
:
true
;
key
?:
MsgKey
;
msg
?:
MsgModel
}
Parameters
params
:
{
chat
:
string
|
ChatModel
;
msgKey
:
string
|
MsgKey
|
MsgModel
;
rootMsg
?:
MsgModel
;
threadId
?:
string
;
}
Returns
{
collection
:
MsgLoad
;
highlightMsg
:
true
;
key
?:
MsgKey
;
msg
?:
MsgModel
}
Whatsapp
738599 >= 2.2242.5
Settings
Member Visibility
External
Theme
OS
Light
Dark
@wppconnect-team/wppconnect - v2.2.0
Loading...
Whatsapp
738599 >= 2.2242.5