Add number parameter to OnWhatsAppDto constructor

This commit is contained in:
Judson Junior
2024-01-20 11:44:10 -03:00
parent 69a323691f
commit 440ff2f3ea
2 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,12 @@
import { proto, WAPresence, WAPrivacyOnlineValue, WAPrivacyValue, WAReadReceiptsValue } from '@whiskeysockets/baileys';
export class OnWhatsAppDto {
constructor(public readonly jid: string, public readonly exists: boolean, public readonly name?: string) {}
constructor(
public readonly jid: string,
public readonly exists: boolean,
public readonly number: string,
public readonly name?: string,
) {}
}
export class getBase64FromMediaMessageDto {