Function reactionFromEncoded

  • A method to create a reaction from a deserialized inboundMessage-like object encoded by Ably.

    Parameters

    • encoded: unknown

      The deserialized inboundMessage-like object. encryption options if you have chosen to encrypt the messages sent to your integration.

    Returns Promise<Reaction>

    A promise that resolves with a reaction.

    ErrorInfo - If there is an error parsing the message.