mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
@@ -335,6 +335,7 @@ export const extractGroupMetadata = (result: BinaryNode) => {
|
|||||||
creation: +group.attrs.creation,
|
creation: +group.attrs.creation,
|
||||||
owner: group.attrs.creator ? jidNormalizedUser(group.attrs.creator) : undefined,
|
owner: group.attrs.creator ? jidNormalizedUser(group.attrs.creator) : undefined,
|
||||||
ownerJid: group.attrs.creator_pn ? jidNormalizedUser(group.attrs.creator_pn) : undefined,
|
ownerJid: group.attrs.creator_pn ? jidNormalizedUser(group.attrs.creator_pn) : undefined,
|
||||||
|
owner_country_code: group.attrs.creator_country_code,
|
||||||
desc,
|
desc,
|
||||||
descId,
|
descId,
|
||||||
descOwner,
|
descOwner,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export interface GroupMetadata {
|
|||||||
addressingMode: 'pn' | 'lid'
|
addressingMode: 'pn' | 'lid'
|
||||||
owner: string | undefined
|
owner: string | undefined
|
||||||
ownerJid?: string | undefined
|
ownerJid?: string | undefined
|
||||||
|
owner_country_code: string
|
||||||
subject: string
|
subject: string
|
||||||
/** group subject owner */
|
/** group subject owner */
|
||||||
subjectOwner?: string
|
subjectOwner?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user