diff --git a/Example/example.ts b/Example/example.ts index d3e48d8..cb63358 100644 --- a/Example/example.ts +++ b/Example/example.ts @@ -10,7 +10,13 @@ const startSock = () => { const sock = makeWASocket({ logger: P({ level: 'trace' }), printQRInTerminal: true, - auth: state + auth: state, + // implement to handle retries + getMessage: async key => { + return { + conversation: 'hello' + } + } }) const sendMessageWTyping = async(msg: AnyMessageContent, jid: string) => {