Preparing search index...
The search index is not available
baileys
baileys
downloadAndProcessHistorySyncNotification
Function downloadAndProcessHistorySyncNotification
download
And
Process
History
Sync
Notification
(
msg
,
options
)
:
Promise
<
{
chats
:
Chat
[]
;
contacts
:
Contact
[]
;
messages
:
IWebMessageInfo
[]
;
progress
:
undefined
|
null
|
number
;
syncType
:
proto
.
HistorySync
.
HistorySyncType
;
}
>
Parameters
msg
:
IHistorySyncNotification
options
:
AxiosRequestConfig
<
{}
>
Returns
Promise
<
{
chats
:
Chat
[]
;
contacts
:
Contact
[]
;
messages
:
IWebMessageInfo
[]
;
progress
:
undefined
|
null
|
number
;
syncType
:
proto
.
HistorySync
.
HistorySyncType
;
}
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
baileys
WAMessage
Status
WAMessage
Stub
Type
WAProto
default
proto
Disconnect
Reason
Binary
Info
Baileys
Event
Emitter
Contact
Group
Metadata
Group
Modification
Response
Presence
Data
WAGroup
Create
Response
WAUrl
Info
Account
Settings
Any
Media
Message
Content
Any
Message
Content
Any
Regular
Message
Content
Authentication
Creds
Authentication
State
Baileys
Event
Baileys
Event
Map
Binary
Node
Binary
Node
Attributes
Binary
Node
Coding
Options
Binary
Node
Data
Browsers
Map
Buffered
Event
Data
Button
Reply
Info
Cache
Store
Catalog
Collection
Catalog
Cursor
Catalog
Result
Catalog
Status
Chat
Chat
Modification
Chat
Mutation
Chat
Mutation
Map
Chat
Update
Connection
State
Curve
Key
Pair
Debounced
Timeout
Downloadable
Message
Event
Event
Input
Type
Full
Jid
Get
Catalog
Options
Global
Group
Invite
Info
Group
Metadata
Participants
Group
Participant
Initial
App
State
Sync
Options
Initial
Received
Chats
State
Jid
Server
Jid
With
Device
Key
Pair
LTHash
State
Last
Message
List
Media
Conn
Info
Media
Decryption
Key
Info
Media
Download
Options
Media
Generation
Options
Media
Type
Message
Content
Generation
Options
Message
Generation
Options
Message
Generation
Options
From
Content
Message
Receipt
Type
Message
Relay
Options
Message
Type
Message
Upsert
Type
Message
User
Receipt
Message
User
Receipt
Update
Minimal
Message
Misc
Message
Generation
Options
Order
Details
Order
Price
Order
Product
Participant
Action
Poll
Message
Options
Product
Product
Availability
Product
Base
Product
Create
Product
Create
Result
Product
Update
Protocol
Address
Request
Join
Action
Request
Join
Method
Signal
Auth
State
Signal
Creds
Signal
Data
Set
Signal
Data
Type
Map
Signal
Identity
Signal
Key
Store
Signal
Key
Store
With
Transaction
Signal
Repository
Signed
Key
Pair
Socket
Config
Transaction
Capability
Options
URLGeneration
Options
User
Facing
Socket
Config
Value
WABrowser
Description
WABusiness
Hours
Config
WABusiness
Profile
WACall
Event
WACall
Update
Type
WAConnection
State
WAContact
Message
WAContacts
Array
Message
WAContext
Info
WAGeneric
Media
Message
WAInit
Response
WALocation
Message
WAMedia
Payload
Stream
WAMedia
PayloadURL
WAMedia
Upload
WAMedia
Upload
Function
WAMessage
WAMessage
Content
WAMessage
Cursor
WAMessage
Key
WAMessage
Update
WAPatch
Create
WAPatch
Name
WAPresence
WAPrivacy
Call
Value
WAPrivacy
Group
Add
Value
WAPrivacy
Online
Value
WAPrivacy
Value
WARead
Receipts
Value
WASendable
Product
WASocket
WAText
Message
WAVersion
ALL_
WA_
PATCH_
NAMES
Browsers
BufferJSON
Curve
DEFAULT_
CACHE_
TTLS
DEFAULT_
CONNECTION_
CONFIG
DEFAULT_
ORIGIN
DEF_
CALLBACK_
PREFIX
DEF_
TAG_
PREFIX
DICT_
VERSION
FLAG_
BYTE
FLAG_
EVENT
FLAG_
EXTENDED
FLAG_
FIELD
FLAG_
GLOBAL
INITIAL_
PREKEY_
COUNT
KEY_
BUNDLE_
TYPE
LT_
HASH_
ANTI_
TAMPERING
MEDIA_
HKDF_
KEY_
MAPPING
MEDIA_
KEYS
MEDIA_
PATH_
MAP
MIN_
PREKEY_
COUNT
NOISE_
MODE
NOISE_
WA_
HEADER
NO_
MESSAGE_
FOUND_
ERROR_
TEXT
OFFICIAL_
BIZ_
JID
PHONE_
CONNECTION_
CB
PROCESSABLE_
HISTORY_
TYPES
PSA_
WID
SERVER_
JID
STORIES_
JID
S_
WHATSAPP_
NET
UNAUTHORIZED_
CODES
URL_
REGEX
WA_
CERT_
DETAILS
WA_
DEFAULT_
EPHEMERAL
WEB_
EVENTS
WEB_
GLOBALS
add
Transaction
Capability
aes
Decrypt
aes
DecryptCTR
aes
DecryptGCM
aes
Decrypt
WithIV
aes
Encryp
WithIV
aes
Encrypt
aes
EncryptCTR
aes
EncryptGCM
aggregate
Message
Keys
Not
From
Me
are
Jids
Same
User
assert
Media
Content
assert
Node
Error
Free
binary
Node
To
String
bind
Wait
For
Connection
Update
bind
Wait
For
Event
bytes
To
Crockford
capture
Event
Stream
chat
Modification
To
App
Patch
clean
Message
configure
Successful
Pairing
create
Signal
Identity
debounced
Timeout
decode
Binary
Node
decode
Decompressed
Binary
Node
decode
Media
Retry
Node
decode
Message
Node
decode
Patches
decode
Syncd
Mutations
decode
Syncd
Patch
decode
Syncd
Snapshot
decompressing
If
Required
decrypt
Media
Retry
Data
decrypt
Message
Node
decrypt
Poll
Vote
delay
delay
Cancellable
derive
Pairing
Code
Key
download
And
Process
History
Sync
Notification
download
Content
From
Message
download
Encrypted
Content
download
External
Blob
download
External
Patch
download
History
download
Media
Message
encode
Base64
Encoded
String
For
Upload
encode
Big
Endian
encode
Binary
Node
encode
Signed
Device
Identity
encode
Syncd
Patch
encodeWAM
encodeWAMessage
encrypt
Media
Retry
Request
encrypted
Stream
extension
For
Media
Message
extract
Device
Jids
extract
Image
Thumb
extract
Message
Content
extract
Syncd
Patches
extract
Url
From
Text
fetch
Latest
Baileys
Version
fetch
Latest
Wa
Web
Version
generate
Forward
Message
Content
generate
Link
Preview
If
Required
generate
Login
Node
generate
Md
Tag
Prefix
generate
MessageID
generate
MessageIDV2
generate
Or
Get
Pre
Keys
generate
Profile
Picture
generate
Registration
Id
generate
Registration
Node
generate
Signal
Pub
Key
generate
Thumbnail
generateWAMessage
generateWAMessage
Content
generateWAMessage
From
Content
get
Aggregate
Votes
In
Poll
Message
get
All
Binary
Node
Children
get
Audio
Duration
get
Audio
Waveform
get
Binary
Node
Child
get
Binary
Node
Child
Buffer
get
Binary
Node
Child
String
get
Binary
Node
ChildUInt
get
Binary
Node
Children
get
Binary
Node
Messages
get
Call
Status
From
Node
get
Chat
Id
get
Code
FromWSError
get
Content
Type
get
Device
get
Error
Code
From
Stream
Error
get
History
Msg
get
Http
Stream
get
Key
Author
get
Media
Keys
get
Next
Pre
Keys
get
Next
Pre
Keys
Node
get
Platform
Id
get
Pre
Keys
get
Status
Code
For
Media
Retry
get
Status
From
Receipt
Type
get
Stream
get
Url
From
Direct
Path
get
Url
Info
getWAUpload
To
Server
hkdf
hkdf
Info
Key
hmac
Sign
init
Auth
Creds
is
Jid
Broadcast
is
Jid
Group
is
Jid
Newsletter
is
Jid
Status
Broadcast
is
Jid
User
is
Lid
User
is
Real
Message
isWABusiness
Platform
jid
Decode
jid
Encode
jid
Normalized
User
make
Cache
Manager
Auth
State
make
Cacheable
Signal
Key
Store
make
Event
Buffer
make
In
Memory
Store
make
Noise
Handler
makeWASocket
md5
media
MessageSHA256
B64
newLTHash
State
normalize
Message
Content
parse
And
Inject
E2ESessions
prepare
Disappearing
Message
Setting
Content
prepareWAMessage
Media
printQRIf
Necessary
Listener
process
History
Message
process
Sync
Action
promise
Timeout
read
And
Emit
Event
Stream
reduce
Binary
Node
To
Dictionary
sha256
should
Increment
Chat
Unread
signed
Key
Pair
to
Buffer
to
Number
to
Readable
trim
Undefined
unix
Timestamp
Seconds
unpad
Random
Max16
update
Message
With
Poll
Update
update
Message
With
Reaction
update
Message
With
Receipt
use
Multi
File
Auth
State
write
Random
Pad
Max16
xmpp
Pre
Key
xmpp
Signed
Pre
Key
Generated using
TypeDoc