Interface: GroupChat
Extends
Properties
ack?
optional
ack:any
Inherited from
archive
archive:
boolean
Inherited from
canSend?
optional
canSend:boolean
Whether your host account is able to send messages to this chat
Inherited from
changeNumberNewJid
changeNumberNewJid:
any
Inherited from
changeNumberOldJid
changeNumberOldJid:
any
Inherited from
contact
contact:
Contact
The contact related to this chat
Inherited from
formattedTitle?
optional
formattedTitle:string
The title of the chat
Inherited from
groupMetadata
groupMetadata:
GroupMetadata
Group metadata for this chat
Inherited from
groupType
groupType:
"COMMUNITY"
|"DEFAULT"
|"LINKED_ANNOUNCEMENT_GROUP"
|"LINKED_GENERAL_GROUP"
|"LINKED_SUBGROUP"
The type of the group
id
id:
GroupChatId
The id of the chat
isAnnounceGrpRestrict
isAnnounceGrpRestrict:
any
If the chat is a group chat is restricted
Inherited from
BaseChat
.isAnnounceGrpRestrict
isGroup
isGroup:
true
Whether the chat is a group chat
isOnline?
optional
isOnline:any
Deprecated
This is unreliable. Use the method isChatOnline
instead.
Inherited from
isReadOnly
isReadOnly:
boolean
Whether the chat is a group chat and the group is restricted
Inherited from
kind
kind:
string
Inherited from
labels
labels:
any
The labels attached to this chat.
Inherited from
lastReceivedKey
lastReceivedKey:
any
The ID of the last message received in this chat
Inherited from
lastSeen?
optional
lastSeen:any
Deprecated
This is unreliable. Use the method getLastSeen
instead.
Inherited from
modifyTag
modifyTag:
number
Inherited from
msgs
msgs:
any
The messages in the chat
Inherited from
muteExpiration
muteExpiration:
number
The expiration timestamp of the chat mute
Inherited from
name
name:
string
The name of the chat
Inherited from
notSpam
notSpam:
boolean
Whether the chat is marked as spam
Inherited from
pendingMsgs
pendingMsgs:
boolean
Messages that are pending to be sent
Inherited from
pic?
optional
pic:string
URL of the chat picture if available
Inherited from
pin
pin:
number
Whether the chat is pinned
Inherited from
presence
presence:
any
The presence state of the chat participant
Inherited from
t
t:
number
The timestamp of the last interaction in the chat
Inherited from
unreadCount
unreadCount:
number
The number of undread messages in this chat