Skip to main content

Interface: GroupChat

Extends

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


pic?

optional pic: string

URL of the chat picture if available

Inherited from

BaseChat.pic


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