Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement] 360dialog extend request to receive message feature #2031

Closed
2 tasks done
Tracked by #2026
mattwr18 opened this issue Sep 17, 2024 · 0 comments · Fixed by #2053
Closed
2 tasks done
Tracked by #2026

[improvement] 360dialog extend request to receive message feature #2031

mattwr18 opened this issue Sep 17, 2024 · 0 comments · Fixed by #2053

Comments

@mattwr18
Copy link
Contributor

mattwr18 commented Sep 17, 2024

This involves:

  • Add message_id in response to message record's external_id
  • Looking at incoming message for:
{ "context": {"message_id":"MESSAGE_ID"}}

and finding the message with this external id to deliver to the contributor.

mattwr18 added a commit that referenced this issue Oct 7, 2024
)

### What changed in this PR and Why

We now save the external id of outgoing 360dialog WhatsApp messages to
the message record in the database. This allows us to:

a) Send out a previous personalized message that the contributor might
have forgotten to ask for, but is still interested in responding to, and
b) Support a reply_to feature where the contributor might quote reply an
older message and we can properly assign the incoming message to the
correct request instead of trying to infer it solely based on the latest
message they received and relying on the user to move the message to the
correct request if it has been incorrectly assigned.

Closes #2031

---------

Co-authored-by: Robert Schäfer <git@roschaefer.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant