@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
decodeMessageNode
Function decodeMessageNode
decodeMessageNode
(
stanza
:
any
,
meId
:
any
,
meLid
:
any
,
)
:
{
author
:
any
;
fullMessage
:
{
broadcast
:
any
;
category
:
any
;
key
:
{
addressingMode
:
any
;
fromMe
:
boolean
;
id
:
any
;
participant
:
any
;
participantAlt
:
any
;
participantUsername
:
any
;
remoteJid
:
any
;
remoteJidAlt
:
any
;
remoteJidUsername
:
any
;
server_id
?:
any
;
}
;
messageTimestamp
:
number
;
pushName
:
any
;
}
;
sender
:
any
;
}
Decode the received node as a message.
Parameters
stanza
:
any
meId
:
any
meLid
:
any
Returns
{
author
:
any
;
fullMessage
:
{
broadcast
:
any
;
category
:
any
;
key
:
{
addressingMode
:
any
;
fromMe
:
boolean
;
id
:
any
;
participant
:
any
;
participantAlt
:
any
;
participantUsername
:
any
;
remoteJid
:
any
;
remoteJidAlt
:
any
;
remoteJidUsername
:
any
;
server_id
?:
any
;
}
;
messageTimestamp
:
number
;
pushName
:
any
;
}
;
sender
:
any
;
}
Note
this will only parse the message, not decrypt it
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
@japofc/baileys - v2.4.7
Loading...
Decode the received node as a message.