whatsplay / whatsapp-play

Command line software through which you can play with your WhatsApp. It is having different options to play with your WhatsApp like message blast, online tracking, whatsapp chat..
MIT License
404 stars 217 forks source link

Receive messages in wchat script successfully in terminal chat whole chat displayed automatically. #328

Closed SinghHimadri closed 4 years ago

SinghHimadri commented 4 years ago

Issue that this pull request solves

77

Closes: # (issue number)

77

Proposed changes

Brief description of what is fixed or changed A function getmessage added which fetches the last message sent by our target.Using Command python3 -m wplay -wc now not only messages are sent but the received messages can be viewed.Now the received messages are displayed automatically after every message sent the received message is displayed.No need to switch or any keyboard interrupt it displays the whole chat.

Types of changes

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply

Screenshots

Please attach the screenshots of the changes made in case of change in user interface WhatsApp Image 2020-05-06 at 12 54 22 PM

Screenshot from 2020-05-06 12-54-02

Other information

Any other information that is important to this pull request

SinghHimadri commented 4 years ago

@rpotter12 @xandao6 Please review my PR.

rpotter12 commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Clones removed
==============
+ wplay/terminal_chat.py  -2

See the complete overview on Codacy

SinghHimadri commented 4 years ago

@SinghHimadri you did this well but it receives message only once like when we start the script it shows the last message. It does not shows the other receive messages when we start chatting.

I have made few changes now whole chat is displayed including send and received messages automatically.