You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the question happen to my whatsapp account From Android to IOS ,scan qrcode to login success, used chat.fetchMessages only get one message of e2e_notification, how to get all message
Is there an existing issue for this?
Describe the bug
the question happen to my whatsapp account From Android to IOS ,scan qrcode to login success, used chat.fetchMessages only get one message of e2e_notification, how to get all message
Expected behavior
get all message list
Steps to Reproduce the Bug or Issue
1 client.initialize
2 scan code
3 chat.fetchMessages
Relevant Code
const { clientId, options } = data
const chat = await this.getChatById(options.chatId, clientId)
const messages = await chat.fetchMessages({
limit: options.limit, // is 999
fromMe: false
}) || []
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS:electron vue for Window
Phone OS: iOS
whatsapp-web.js version:1.22.1
WhatsApp Web version [run await client.getWWebVersion()]:
Node.js Version:16.17.0
Additional context
No response
The text was updated successfully, but these errors were encountered: