Skip to content

Commit f2dbd60

Browse files
committed
fix build after proto change
1 parent fecf384 commit f2dbd60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/socket/handling-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sidebar_position: 5
33
---
44

55
# 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.
77

88
The message data specifically is in the format [`proto.IMessage`](../api/namespaces/proto/interfaces/IMessage).
99
You can send messages in this format using the [`sock.relayMessage`](../api/functions/makeWASocket#relaymessage) function.

0 commit comments

Comments
 (0)