/api/get_messages # user1, user2, match_id - sync chat history with the server.
/api/send_message # sender , match_id , message . return 1 in case of success -1 in case of error.
display all messages and time.
display text box to write a message.
save chat history in local storage.
back button - return to chat view.
/api/get_messages # user1, user2, match_id - sync chat history with the server. /api/send_message # sender , match_id , message . return 1 in case of success -1 in case of error.
display all messages and time. display text box to write a message. save chat history in local storage. back button - return to chat view.