Skip to content

Response is not deliverd if there is a newline character in the "text" response #74

Description

@lcbasu

Describe the bug
The response is not delivered if there is a newline character in the "text" response

To Reproduce
Steps to reproduce the behaviour:
If we set the MessageTemplate to send a text reply where the text has a newline character, the response is not delivered.

INFO: curl -X POST -H "Content-Type: application/json" -d '{"recipient": {"id": "1234567890"},"message": {"text": "Reply with image answer. This is line number 1. The next line is a new line (Line number 2 is empty line).

This is line number 3."},"notification_type":"REGULAR"}

Expected behaviour
The response should be submitted with a new line for every newline character.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions