screeps-api
    Preparing search index...

    Interface Message

    A message result from UserMessagesIndexResponse

    interface Message {
        _id: string;
        date: string;
        outMessage: string;
        respondent: string;
        text: string;
        type: "in" | "out";
        unread: boolean;
        user: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _id: string

    ID of the message

    date: string

    ISO 8601 timestamp

    outMessage: string

    ID of ???

    respondent: string

    ID of the other user

    text: string

    Message body

    type: "in" | "out"

    incoming or outgoing

    unread: boolean
    user: string

    ID of the current user