waha
waha copied to clipboard
/api/contacts/all - fetch all contacts sorted by the 'last message received' date
Hello.
We would like to fetch all contacts in phone but it should be sorted in 'last message received' date order. Please add a parameter to api so that we can get contacts in requested order.
Current api returns the contacts in alphabetical order. but our need is to sync the messages that apperared when phone was not connected with session. so its important to get contacts in order by last message date.
Thank you.
I think it's what /chats will be for https://github.com/devlikeapro/whatsapp-http-api/issues/114
What will be the ETA for this feature? When can we expect to have this?