open-wa / wa-automate-python

💬 🤖 The most advanced Python whatsapp library for chatbots with advanced features. Be sure to ⭐ this repository for updates!
Other
349 stars 75 forks source link

Some Reverse-Engineering and Youtube preview #62

Closed fire17 closed 3 years ago

fire17 commented 3 years ago

Hi there :) first of all thanks alot for a great repo

was wondering if you can shed any light on how to get the list of all possible functions from the js store

for example, I would like to send a message with a Youtube Preview - The one that is able to play straight from the chat if anyone knows how to do this (yt preview) please share it will be very appreciated

and if you can point me in the right direction on how to start reverse engineering the wap js store it will be great Thank you so much and have a good one :) :+1:

mrodal commented 3 years ago

Hi, you can start looking here https://github.com/open-wa/wa-automate-nodejs/blob/master/src/lib/wapi.js how the functions are extracted. You can also ask in that repo or in the discord server where there are more people working on the js part

Regards