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
Copy file name to clipboardExpand all lines: docs/socket/handling-messages.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ sidebar_position: 5
3
3
---
4
4
5
5
# Handling Messages
6
-
Messages, from a history sync or from a messages.upsert event, come in the form of [`WAMessage`](../api/interfaces/WAMessage). This is the protobuf that WhatsApp Web stores its messages in.
6
+
Messages, from a history sync or from a messages.upsert event, come in the form of [`proto.IWebMessageInfo`](../api/namespaces/proto/interfaces/IWebMessageInfo). This is the protobuf that WhatsApp Web stores its messages in.
7
7
8
8
The message data specifically is in the format [`proto.IMessage`](../api/namespaces/proto/interfaces/IMessage).
9
9
You can send messages in this format using the [`sock.relayMessage`](../api/functions/makeWASocket#relaymessage) function.
0 commit comments