@ably/chat - v0.8.0
    Preparing search index...

    Type Alias Headers

    Headers: Record<string, number | string | boolean | null | undefined>

    Headers are a flat key-value map that can be attached to chat messages.

    The headers are a flat key-value map and are sent as part of the realtime message's extras inside the headers property. They can serve similar purposes as Metadata, but as opposed to Metadata they are read by Ably and can be used for features such as subscription filters.

    Do not use the headers for authoritative information. There is no server-side validation. When reading the headers, treat them like user input.