Skip to main content

Interface: GroupMetadata

api/model/group-metadata.GroupMetadata

Properties

creation

creation: number

The timestamp of when the group was created


defaultSubgroup

defaultSubgroup: boolean

Communities have a default group chat


desc

Optional desc: string

The description of the group


descOwner

Optional descOwner: ContactId

The account that set the description last.


groupType

groupType: "DEAFULT" | "SUBGROUP" | "COMMUNITY"

The type of group


id

id: GroupChatId

The chat id of the group GroupChatId


isParentGroup

Optional isParentGroup: boolean

Is this group a parent group (a.k.a community)


isParentGroupClosed

isParentGroupClosed: boolean


joinedSubgroups

joinedSubgroups: `${number}@g.us`[]

List of Group IDs that the host account has joined as part of this community


owner

owner: NonSerializedId

The id of the owner of the group ContactId


participants

participants: Participant[]

An array of participants in the group


pendingParticipants

pendingParticipants: Participant[]

Unknown.


support

Optional support: boolean

Not sure what this represents


suspended

Optional suspended: boolean

Not sure what this represents


trusted

Optional trusted: boolean