IConversationStore.getConversation() method
Get a conversation
Signature
getConversation(conversationId: ConversationId): Promise<IConversation>;
Remarks
Only conversations that are public, or that the acting user is a member of, are available. So even if the specified conversation ID actually exists, this method will fail with ConversationNotFound if the conversation is not available to the acting user.
Parameters
| Parameter | Type | Description |
|---|---|---|
| conversationId | ConversationId | The conversation to get |
Returns
| Type | Description |
|---|---|
| Promise<IConversation> | A single conversation |
Throws
| Error |
|---|