Home / @sym20/core-conversations / IConversationStore / getConversations

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

TypeDescription
Promise<IConversation[]>

A list of conversations

Throws

Error