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

    Interface OccupancyEvent

    Represents an occupancy event.

    interface OccupancyEvent {
        occupancy: { connections: number; presenceMembers: number };
        type: Updated;
    }
    Index

    Properties

    Properties

    occupancy: { connections: number; presenceMembers: number }

    The occupancy data.

    Type declaration

    • connections: number

      The number of connections to the chat room.

    • presenceMembers: number

      The number of presence members in the chat room - members who have entered presence.

    type: Updated

    The type of the occupancy event.