UNPKG
@whiskeysockets/baileys
Version:
latest (6.7.18)
6.17.16
6.7.18
6.7.17
6.7.16
6.7.15
6.7.14
6.7.13
6.7.12
6.7.11
6.7.10
6.7.9
6.7.8
6.7.7
6.7.6
6.7.5
6.7.4
6.7.3
6.7.2
6.7.1
6.7.0
6.6.0
6.5.0
6.4.2
6.4.1
6.4.0
6.3.1
6.3.0
6.2.1
6.2.0
6.1.0
6.0.1
6.0.0
A WebSockets library for interacting with WhatsApp Web
github.com/WhiskeySockets/Baileys/
@whiskeysockets/baileys
/
WASignalGroup
/
ciphertext_message.js
16 lines
(10 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CiphertextMessage {
UNSUPPORTED_VERSION = 1;
CURRENT_VERSION = 3;
WHISPER_TYPE = 2;
PREKEY_TYPE = 3;
SENDERKEY_TYPE = 4;
SENDERKEY_DISTRIBUTION_TYPE = 5;
ENCRYPTED_MESSAGE_OVERHEAD = 53; } module.exports = CiphertextMessage;