Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(message): describe the saved-name fallback of chatName

Yudhi Armyndharis49d0a9084231
diff --git a/src/modules/message/dto/message-responses.dto.ts b/src/modules/message/dto/message-responses.dto.ts
index 59292c199..1304bd253 100644
--- a/src/modules/message/dto/message-responses.dto.ts
+++ b/src/modules/message/dto/message-responses.dto.ts
@@ -58,7 +58,7 @@ export class MessageListItemDto {
type: String,
nullable: true,
description:
- 'Push name of the message sender as the engine reported it; in a group this is the member who posted, not the group subject. Null when no contact name was known.',
+ "Sender's push name, or their saved contact name when the engine reported no push name; in a group this is the member who posted, not the group subject. Null when neither was known.",
example: 'Alice',
})
chatName?: string | null;