Options
Menu

Interface IChatInfo

The relevant metadata for a Chat.

Hierarchy

Index

Properties

chatId

chatId: string

The unique ID for this chat.

chatType

chatType: ChatType

The type of chat: ChatRoom, ChatChannel or DirectChat.

createdTime

createdTime: Date

The timestamp when this chat was created.

joined

joined: boolean

True if the local user is joined to this Chat.

lastEventNumber

lastEventNumber: number

The sequential number of the most recent event for this chat.

lastEventTime

lastEventTime: Date

The timestamp of the most recent event for this chat.

maxSeenEventNumber

maxSeenEventNumber: number

The number of the most recent event which any member has received.

members

members: IChatMember[]

An array of the current members of this chat.

membership

membership: ChatMembership

Whether this chat is public or private. In a private chat, members must be explicitly added by another member with the appropriate permissions (see ChatPermission).

name

name: string

An optional name for this chat.

topic

topic: string

An optional topic for this chat.