mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Change profile name for yourself (#1913)
* feat: change profile name * fix: unnecessary return
This commit is contained in:
@@ -695,6 +695,11 @@ await sock.sendMessage(
|
||||
const status = 'Hello World!'
|
||||
await sock.updateProfileStatus(status)
|
||||
```
|
||||
- To change your profile name
|
||||
``` ts
|
||||
const name = 'My name'
|
||||
await sock.updateProfileName(name)
|
||||
```
|
||||
- To get the display picture of some person/group
|
||||
``` ts
|
||||
// for low res picture
|
||||
|
||||
Reference in New Issue
Block a user