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 field isViewOnce is missing from the Message type definition, although it is present in the JSON response of the message. This discrepancy causes issues when handling messages, as the field should be available for media files.
Details:
The isViewOnce field is included in the JSON response when the message contains a media file (such as video, image, or audio). However, it is undefined when the file is not a media type, which is expected behavior. The current Message type definition should reflect the presence of this field to ensure proper handling of media-related messages.
Environment
WPPConnect version(s): 1.34.2
OS: MacOS Sonoma 14.6.1
Node version: Node v22.3.0
WhatsApp version: 2.3000.1016291689
MultiDevice (BETA): yes
Steps to Reproduce
Send media with view once
The text was updated successfully, but these errors were encountered:
Description
Problem:
The field
isViewOnce
is missing from theMessage
type definition, although it is present in the JSON response of the message. This discrepancy causes issues when handling messages, as the field should be available for media files.Details:
The
isViewOnce
field is included in the JSON response when the message contains a media file (such as video, image, or audio). However, it is undefined when the file is not a media type, which is expected behavior. The currentMessage
type definition should reflect the presence of this field to ensure proper handling of media-related messages.Environment
Steps to Reproduce
Send media with view once
The text was updated successfully, but these errors were encountered: