Optional
agent?: Agentverify app state MACs
provide an auth state object to maintain the auth state
override browser config
Optional
callcache to store call offers
Fails the connection if the socket times out in this interval
custom upload hosts to upload media to
Default timeout for queries, undefined for no timeout
should events be emitted for actions done by this socket connection
Optional
fetchagent used for fetch requests -- uploading/downloading media
Should baileys fire init queries automatically, default true
generate a high quality link preview, entails uploading the jpegThumbnail to WA
fetch a message from your store implement this so that messages failed to send (solves the "this message can take a while" issue) can be retried
ping-pong interval for WS connection
width for link preview images
pino logger
marks the client as online whenever the socket successfully connects
Optional
mediaprovide a cache to store media, so does not have to be re-uploaded
Optional
mobile?: booleanshould baileys use the mobile api instead of the multi device api
Optional
msgmap to store the retry counts for failed messages; used to determine whether to retry a message or not
options for axios
should the QR be printed in the terminal
Optional
qrtime to wait for the generation of the next QR in ms
time to wait between sending new retry requests
Returns if a jid should be ignored, no event for that jid will be triggered. Messages from that jid will also not be decrypted
manage history processing with this control; by default will sync up everything
Optional
socket?: anySocket passthrough
Should Baileys ask the phone for full history, will be received async
transaction capability options for SignalKeyStore
Optional
userprovide a cache to store a user's device list
version to connect with
the WS url to connect to WA
Generated using TypeDoc
proxy agent