whatsapp-framework
whatsapp-framework copied to clipboard
Image receiving support
When i send image to bot all i get in console is
InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry
Do we have support of receiving image??
@SPWC have you tried this!
I've been using the https://github.com/AragurDEV/yowsup fork recently so cant say if that error existed before. However checked it now and released it does crash my current instance. Implemented a quick fix as I only need to look at "text". Go to app/models/message
and comment out media message section in build like so:
def build(self):
if helper.is_text_message(self.message_entity):
self.build_text_message()
# elif helper.is_media_message(self.message_entity):
# self.build_media_message()
else:
print("Unsupported message")
@SPWC i did some changes in code and able to receive image but its only in 1-1 chat. Still not working in group chat! I think this might be some logical bug or something, because GroupCipher used is working for text messages but not for media messages
@shubhamparamhans how did you manage to receive images?
InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry after this, it's not going online and messages are not delivering if I send from other numbers, and I am also not able to send messages