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

IConversationStore.getMember() method

Get member information

Signature
getMember(conversationId: ConversationId, userId: UserId): Promise<IMember>;

Parameters

ParameterTypeDescription
conversationIdConversationId

The conversation to get a member from

userIdUserId

The user to get member information about

Returns

TypeDescription
Promise<IMember>

Member info for the given user in the given conversation

Throws

Error

ConversationNotFound

MemberNotFound