mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
* refactor: migrate WASignalGroup to TypeScript and remove deprecated files * chore: remove WASignalGroup JavaScript files from package.json * refactor: update SenderKeyStore and SenderKeyStateStructure interfaces to export and add deserialize method. Fix types * chore: lint issue * refactor: improve constructor type checking and getSeed method in SenderChainKey * refactor: update key handling to use Buffer for improved consistency * signal: consistent naming and dir structure + add some missing types * fix: lint issues --------- Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
10 lines
321 B
TypeScript
10 lines
321 B
TypeScript
export class CiphertextMessage {
|
|
readonly UNSUPPORTED_VERSION: number = 1
|
|
readonly CURRENT_VERSION: number = 3
|
|
readonly WHISPER_TYPE: number = 2
|
|
readonly PREKEY_TYPE: number = 3
|
|
readonly SENDERKEY_TYPE: number = 4
|
|
readonly SENDERKEY_DISTRIBUTION_TYPE: number = 5
|
|
readonly ENCRYPTED_MESSAGE_OVERHEAD: number = 53
|
|
}
|