mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
renamed user.id to user.jid
This commit is contained in:
@@ -29,7 +29,7 @@ async function example() {
|
||||
|
||||
const unread = await conn.loadAllUnreadMessages ()
|
||||
|
||||
console.log('oh hello ' + conn.user.name + ' (' + conn.user.id + ')')
|
||||
console.log('oh hello ' + conn.user.name + ' (' + conn.user.jid + ')')
|
||||
console.log('you have ' + conn.chats.all().length + ' chats')
|
||||
console.log ('you have ' + unread.length + ' unread messages')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user