Full content of Message the quote refers to #391
Answered
by
hoehermann
MeinDeutschkurs
asked this question in
WhatsApp protocol Q&A
-
Hello everyone, I apologize for the newbie question. I have a situation where I need to distinguish between a quoted message and an initial message. Here's the code snippet I'm currently using:
Now, I would like to know if there's a way to retrieve the original message that the quote refers to. I want to use it as a form of context. I truly appreciate all of your work, assistance and support. Thank you so much, |
Beta Was this translation helpful? Give feedback.
Answered by
hoehermann
May 27, 2023
Replies: 1 comment 1 reply
-
When receiving a quote, the quoted message is given in the ContextInfo. Here is an example how I use it: https://github.com/hoehermann/purple-gowhatsapp/blob/60b7398/src/go/handle_message.go#L39 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MeinDeutschkurs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When receiving a quote, the quoted message is given in the ContextInfo. Here is an example how I use it: https://github.com/hoehermann/purple-gowhatsapp/blob/60b7398/src/go/handle_message.go#L39