Full content of Message the quote refers to #391
-
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.
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.
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