IConversationStore.getConversations() method
Gets all conversations that the acting user is a member of
Signature
getConversations(): Promise<IConversation[]>;
Remarks
The returned array of conversations will be sorted according to the time the latest message in the conversation is sent, in descending order. Conversations without any messages will be sorted after conversations that do.
Returns
Type | Description |
---|---|
Promise<IConversation[]> | A list of conversations |
Throws
Error |
---|