Skip to main content

Interface: GroupChat

api/model/chat.GroupChat

Hierarchy

Properties

ack

Optional ack: any

Inherited from

BaseChat.ack


archive

archive: boolean

Inherited from

BaseChat.archive


canSend

Optional canSend: boolean

Whether your host account is able to send messages to this chat

Inherited from

BaseChat.canSend


changeNumberNewJid

changeNumberNewJid: any

Inherited from

BaseChat.changeNumberNewJid


changeNumberOldJid

changeNumberOldJid: any

Inherited from

BaseChat.changeNumberOldJid


contact

contact: Contact

The contact related to this chat

Inherited from

BaseChat.contact


formattedTitle

Optional formattedTitle: string

The title of the chat

Inherited from

BaseChat.formattedTitle


groupMetadata

groupMetadata: GroupMetadata

Group metadata for this chat

Inherited from

BaseChat.groupMetadata


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

BaseChat.isOnline


isReadOnly

isReadOnly: boolean

Whether the chat is a group chat and the group is restricted

Inherited from

BaseChat.isReadOnly


kind

kind: string

Inherited from

BaseChat.kind


labels

labels: any

The labels attached to this chat.

Inherited from

BaseChat.labels


lastReceivedKey

lastReceivedKey: any

The ID of the last message received in this chat

Inherited from

BaseChat.lastReceivedKey


lastSeen

Optional lastSeen: any

Deprecated

This is unreliable. Use the method getLastSeen instead.

Inherited from

BaseChat.lastSeen


modifyTag

modifyTag: number

Inherited from

BaseChat.modifyTag


msgs

msgs: any

The messages in the chat

Inherited from

BaseChat.msgs


muteExpiration

muteExpiration: number

The expiration timestamp of the chat mute

Inherited from

BaseChat.muteExpiration


name

name: string

The name of the chat

Inherited from

BaseChat.name


notSpam

notSpam: boolean

Whether the chat is marked as spam

Inherited from

BaseChat.notSpam


pendingMsgs

pendingMsgs: boolean

Messages that are pending to be sent

Inherited from

BaseChat.pendingMsgs


pin

pin: number

Whether the chat is pinned

Inherited from

BaseChat.pin


presence

presence: any

The presence state of the chat participant

Inherited from

BaseChat.presence


t

t: number

The timestamp of the last interaction in the chat

Inherited from

BaseChat.t


unreadCount

unreadCount: number

The number of undread messages in this chat

Inherited from

BaseChat.unreadCount