Function reactionFromAblyMessage

  • Converts an Ably inboundMessage to a reaction. You can use the getEntityTypeFromAblyMessage method to determine if the type of the entity is a reaction before calling this method.

    Parameters

    Returns Reaction

    Reaction - The converted reaction.

    ErrorInfo - If there is an error parsing the message.