nylas
    Preparing search index...

    Interface UpdateMessageRequest

    Interface representing a request to update a message.

    interface UpdateMessageRequest {
        folders?: string[];
        metadata?: Record<string, unknown>;
        starred?: boolean;
        unread?: boolean;
    }
    Index

    Properties

    folders?: string[]

    The IDs of the folders the message should appear in.

    metadata?: Record<string, unknown>

    A list of key-value pairs storing additional data.

    starred?: boolean

    Sets the message as starred or unstarred.

    unread?: boolean

    Sets the message as read or unread.