mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
update broadcast lists
This commit is contained in:
@@ -249,6 +249,12 @@ export default(
|
||||
groupMetadata[jid] = await sock?.groupMetadata(jid, chats.get(jid)?.read_only === 'true')
|
||||
}
|
||||
return groupMetadata[jid]
|
||||
},
|
||||
fetchBroadcastListInfo: async(jid: string, sock: Connection | undefined) => {
|
||||
if(!groupMetadata[jid]) {
|
||||
groupMetadata[jid] = await sock?.getBroadcastListInfo(jid)
|
||||
}
|
||||
return groupMetadata[jid]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user