Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
625 stars 183 forks source link

Chat.java displayName is null #335

Closed xianliu18 closed 1 year ago

xianliu18 commented 1 year ago

sync history chat, I log.info("chat: {}", JsonUtils.writeValueAsString(chat)) found, "displayName": null.

Can I get displayName of a chat, because chat.name is still a phone number.

Auties00 commented 1 year ago

use name, not displayName

xianliu18 commented 1 year ago

Where can I get a contact's nickname when sync history chats? Because chat.name is a phone number, not a nickname.