getMemberMeta

View as Markdown

getMemberMeta

  • getMemberMeta(): Promise<{ meta: Object }>

Returns the metadata assigned to the specified member.

Parameters

params
object

Object containing the parameters of the method.

memberId
string

Id of the member for which to obtain the metadata. If omitted, refers to the current member.

Returns

Promise<{ meta: Object }>

Example

1const { meta } = await roomSession.getMemberMeta();
2console.log(meta);