feat: Set client's display name (pushname)

This commit is contained in:
Pedro Lopez
2020-08-17 22:19:29 -04:00
parent 97705b1865
commit 9da553ecb9
2 changed files with 17 additions and 0 deletions

6
index.d.ts vendored
View File

@@ -84,6 +84,12 @@ declare namespace WAWebJS {
*/
setStatus(status: string): Promise<void>
/**
* Sets the current user's display name
* @param displayName New display name
*/
setDisplayName(displayName: string): Promise<void>
/** Changes and returns the archive state of the Chat */
unarchiveChat(chatId: string): Promise<boolean>