lc-at / kyros

Python wrapper for WhatsApp Web API websocket communication (based on https://github.com/sigalor/whatsapp-web-reveng)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of binary reader (encoder/decoder)

lc-at opened this issue · comments

I'm working on it. Currently i'm reading all whatsapp messages but i'm trying to finish the writer to allow send messages and then upload the changes.

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.

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.

if callback message more than 125 Char
ERROR Parsing Message with type 'proto.WebMessageInfo'

if below than 125 ..
show normal on loger