mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: catch groups create notification
This commit is contained in:
@@ -152,7 +152,7 @@ export const makeGroupsSocket = (config: SocketConfig) => {
|
||||
}
|
||||
|
||||
|
||||
const extractGroupMetadata = (result: BinaryNode) => {
|
||||
export const extractGroupMetadata = (result: BinaryNode) => {
|
||||
const group = getBinaryNodeChild(result, 'group')
|
||||
const descChild = getBinaryNodeChild(group, 'description')
|
||||
let desc: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user