yowsup
yowsup copied to clipboard
demo for receiving message.
I want to write the code to receive a message. this module should just receive a message and exit. can any one give me the directions... I've gone through yowsup.demos.cli but couldn't understand how to keep the thread alive and receive the messages.
thanks in advance!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
if you look at line 53 in echo layer:
self.stack.loop()
is what keeps the program from exiting and receive messages
I created a list to append the recevied messages(in layer.py) and then tried printing them out in run.py but it is returning an empty list.Please help