From 5287421ceae3ca07c39c158a8fc8484c1882e855 Mon Sep 17 00:00:00 2001 From: devlikepro Date: Sat, 24 Aug 2024 14:42:40 +0700 Subject: [PATCH] [core] Add location example --- src/structures/chatting.dto.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/structures/chatting.dto.ts b/src/structures/chatting.dto.ts index a12ce646..91c69bec 100644 --- a/src/structures/chatting.dto.ts +++ b/src/structures/chatting.dto.ts @@ -163,8 +163,19 @@ export class MessageReplyRequest extends MessageTextRequest { } export class MessageLocationRequest extends ChatRequest { + @ApiProperty({ + example: 38.8937255, + }) latitude: number; + + @ApiProperty({ + example: -77.0969763, + }) longitude: number; + + @ApiProperty({ + example: 'Our office', + }) title: string; }