Get quoted message #3197
atcasanova
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having a hard time finding docs for this project, so i'll just ask here hoping anyone will help
i'm using this docker: https://github.com/arthurd2/WhatsAppTranscription/
to transcribe my audio messages using OpenAI's API.
I imagine I could update the code by using "message.type='ptt'" instead of checking for mime types, but the thing is this code transcribe every single audio message, not only voice clips.
I'd rather it transcribed only messages I replied to with a specific string, like "!text". So i would need to know how to detect if a message is a quoted reply, and how to get the original message to decode.
Can anyone help?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions