Preparing search index...

    Holds a message that is sent over the network.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • senderInfo: UserInfo

        Information about the sender.

      • message: string

        The message content.

      • OptionalmessageData: T

        The message data.

      Returns NetworkMessage<T>

    Properties

    data: T

    The message data.

    message: string

    The message content.

    senderConnectionId: string

    The connection ID of the sender.

    senderInfo: UserInfo

    Information about the sender.

    senderUserId: string

    The user ID of the sender.