diff --git a/src/structures/chatting.dto.ts b/src/structures/chatting.dto.ts index 2c10e46e..e689025b 100644 --- a/src/structures/chatting.dto.ts +++ b/src/structures/chatting.dto.ts @@ -49,9 +49,11 @@ export class ChatQuery extends SessionQuery { export class GetMessageQuery extends GetChatMessagesQuery { @IsNotEmpty() + @IsString() session: string = WHATSAPP_DEFAULT_SESSION_NAME; @ChatIdProperty() + @IsString() chatId: string; }