useChats hook
the useChats
hook is used to interface with chats.
Get list of conversations
You can get a list of the conversations of the current user. conversations retrieved are paginated to 25 messages at a time. New conversations started by other users or messages sent to conversations that are on a different page are automatically added to the chats
array.
Last updated