GetConversationsByUserIdAsync | Gets all conversations available to user in descending order by their UpdateDatetime | string | Task<List<Conversation>> |
SetActiveConversation | Sets the ActiveConversation property using a Conversation object | Conversation | void |
SetActiveConversationByIdAsync | Sets the ActiveConversation property using a Conversation.Id | string | Task |
SetActiveConversationToNull | Sets the ActiveConversation to null | | void |
AddConversationAsync | Adds a Conversation to the Cosmos DB | Conversation | Task |
UpdateConversationLastMessage | Updates the LastMessage of a Conversation in the Cosmos DB | string,string | Task |