GalDear / Sababa

0 stars 0 forks source link

Chat - chats view - client #8

Open danielgeo96 opened 2 years ago

danielgeo96 commented 2 years ago

/api/get_conversation # send user id and get all conversations from server. Example: [{conversation_id:1234 conversation_name: temp, time_stamp: 12353423, last_message:temp temp tmep}]

When open chat view , use get conversation api and recive conversation as json then compare between local db and the respone and update. The conversation display as list. On click on each conversation open conversation screen.