From b6579b5b96f29c238cdc8d23eabf304255120f6a Mon Sep 17 00:00:00 2001 From: allburov Date: Fri, 24 Nov 2023 17:29:02 +0700 Subject: [PATCH] [core] Add filename property --- src/structures/responses.dto.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/structures/responses.dto.ts b/src/structures/responses.dto.ts index c8e68c57..39f8b555 100644 --- a/src/structures/responses.dto.ts +++ b/src/structures/responses.dto.ts @@ -62,6 +62,12 @@ export class WAMessage { }) mediaUrl: string; + @ApiProperty({ + description: 'The original filename in mediaUrl in the message if any', + example: 'example.pdf', + }) + filename: string; + @ApiProperty({ description: 'ACK status for the message', })