superchats
Version:
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
8 lines (7 loc) • 399 B
TypeScript
import { KeyPairType, SignedPreKeyPairType, PreKeyPairType } from './types';
export declare class KeyHelper {
static generateIdentityKeyPair(): Promise<KeyPairType>;
static generateRegistrationId(): number;
static generateSignedPreKey(identityKeyPair: KeyPairType, signedKeyId: number): Promise<SignedPreKeyPairType>;
static generatePreKey(keyId: number): Promise<PreKeyPairType>;
}