Represents an existing chat, and it's list of latest messages

interface Chat {
    latestMessages: Message[];
    name: string;
    uri: string;
}

Properties

latestMessages: Message[]

A (not-necessarily complete) list of messages in that chat

name: string

The human-readable title of the chat

uri: string

URI identifying the chat