yowsapp-framework
yowsapp-framework copied to clipboard
Error when receive image/audio/video/contact/location message
On received multimedia message, return this error:
File "/home/yowsapp-framework/app/layer.py", line 70, in on_message message = Message(message_entity) File "/home/yowsapp-framework/app/models/message.py", line 19, in __init__ self.build() File "/home/yowsapp-framework/app/models/message.py", line 25, in build self.build_media_message() File "/home/yowsapp-framework/app/models/message.py", line 52, in build_media_message self.build_text_message() File "/home/yowsapp-framework/app/models/message.py", line 33, in build_text_message self.message = helper.clean_message(self.message_entity) File "/home/yowsapp-framework/app/utils/helper.py", line 133, in clean_message message = message_entity.getBody()
While it is possible to implement the support to receive multimedia messages, the reception of them is temporarily disabled while working in this implementation.