1.Create api for send message senderId, ReciverID ,message,created date and time
2.Create history api (if i am sending message to anyone create history if anyone send message to me created history)
senderId,reciverId,lastMsg,created date and time,
3.Create api for one to one chatting history (show all chat history)
senderId,all_msg,msg date and time
reciverID,all_msg,msg date and time
4.total history count (how many user to chat) userId