Read a message, and how to get the id and other data #92
Replies: 2 comments 2 replies
-
Hi @AlkhabazHasan thanks for reporting. Making that change is definitely doable. Note that the Whatsapp API doesn't return the ID of the message, it just returns What we can do, is use the If you want to open a PR the changes required are:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@AlkhabazHasan there were major updates to the gem that makes it much easier to interact with resposnes. https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/releases/tag/v1.0.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Grate gem and well documented and, it save times of works, but isn't
messages_api.read_message(sender_id: 1234, message_id: "wamid.HBgLMTM0M12345678910=")
needs more explanation?It is so easy to get the id for sent message:
But for
messages_api.read_message
I have to do it like this:params["entry"][0]["changes"][0]["value"]["messages"][0]["id"]
Is there something I didn't get?
I think I may need some help!
Beta Was this translation helpful? Give feedback.
All reactions