|
|
@ -4,13 +4,13 @@ import { MessageParams } from '../Message';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface PreKeyBundleType {
|
|
|
|
export interface PreKeyBundleType {
|
|
|
|
identityKey?: (Uint8Array|null);
|
|
|
|
identityKey: Uint8Array;
|
|
|
|
deviceId?: (number|null);
|
|
|
|
deviceId: number;
|
|
|
|
preKeyId?: (number|null);
|
|
|
|
preKeyId: number;
|
|
|
|
signedKeyId?: (number|null);
|
|
|
|
signedKeyId: number;
|
|
|
|
preKey?: (Uint8Array|null);
|
|
|
|
preKey: Uint8Array;
|
|
|
|
signedKey?: (Uint8Array|null);
|
|
|
|
signedKey: Uint8Array;
|
|
|
|
signature?: (Uint8Array|null);
|
|
|
|
signature: Uint8Array;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|