@vreden/meta
Version:
Baileys is a lightweight JavaScript library for interacting with the WhatsApp Web API using WebSocket.
17 lines (16 loc) • 641 B
TypeScript
import { CiphertextMessage } from './ciphertext-message'
export declare class SenderKeyDistributionMessage extends CiphertextMessage {
private readonly id
private readonly iteration
private readonly chainKey
private readonly signatureKey
private readonly serialized
constructor(id?: number | null, iteration?: number | null, chainKey?: Uint8Array | null, signatureKey?: Uint8Array | null, serialized?: Uint8Array | null)
private intsToByteHighAndLow
serialize(): Uint8Array
getType(): number
getIteration(): number
getChainKey(): Uint8Array
getSignatureKey(): Uint8Array
getId(): number
}