Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

WhatsApp messages sending and reading #2

Open
lc-at opened this issue Jun 9, 2020 · 10 comments
Open

WhatsApp messages sending and reading #2

lc-at opened this issue Jun 9, 2020 · 10 comments

Comments

@lc-at
Copy link
Owner

lc-at commented Jun 9, 2020

No description provided.

@lc-at lc-at added the to-do label Jun 9, 2020
@lc-at lc-at self-assigned this Jun 9, 2020
@irvanrahadhian
Copy link

Hello, thank for this amazing lib, but i still cannot sending message, i tried to follow the simple example. already logged in, but still cant sending message.

@lc-at
Copy link
Owner Author

lc-at commented Jul 15, 2020

Sending messages is currently still a pending task. In order to send a message, the binary websocket message decoding process still has to be done in the first place (ongoing).

@RynKings
Copy link

This lib isn't continued yet ?

@lc-at
Copy link
Owner Author

lc-at commented Feb 15, 2021

This lib isn't continued yet ?

Yes, it is still pending. If you want, you can contribute and help develop the feature. I will be very welcome to see your pull request.

@MaverickAlonso
Copy link

MaverickAlonso commented Aug 30, 2021

Hi guys, I saw that this feature is still pending. Unfortunately, I do know what should be the next steps after the first part. Do we know which steps need to be developed for sending? Do we have a plan or details? maybe we can help in advance with this future. Regards,

@lc-at
Copy link
Owner Author

lc-at commented Aug 31, 2021

Sorry for the lagging development. I really wish I could work on it sooner. If you want to work on the feature, you can follow the reference by looking at whatsapp-web-reveng or go-whatsapp (especially the part of code where they do binary encoding and decoding). So far, we have been able to decrypt the websocket messages. From all the websocket messages, some are binary messages and some are just regular string. Before being able to send and read WhatsApp message, I believe that the first thing we have to work out is the binary decoder/encoder (#3).

Regards,

@RezSat
Copy link

RezSat commented Dec 13, 2021

see https://github.com/ravindu01manoj/Sew-Queen they have built a complete WhatsApp bot, and every easy deploy with the direct link to Heroku. But it's done with Javascript or rather Node-JS, we might able to reimplement it in python as well.

@lc-at
Copy link
Owner Author

lc-at commented Dec 14, 2021

@RezSat I will take a look on that.

@RezSat
Copy link

RezSat commented Dec 19, 2021

@RezSat I will take a look on that.

I think it will be harder because they haven't completely open sourced it, some of the features aren't readable on normal manner.

@reinier-millo
Copy link
Collaborator

I have added to develop branch the binary reader for WhatsApp messages. Currently the implementation is receiving text plain messages. To integrate with the message handler i have added a message callback. Changes are uploaded with #21.

There is some work to do with the received message to identify different type of messages. Currently media messages are not decoding successfully. Decoding is failing with the protobuf decode. I'm looking some references to identify how to solve it and allow to receive media messages. Currently media messages are received but don't decoded and identified successfully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants