Skip to main content
Hook to get the members userIds of a Space, GDM, Channel, or DM. Used with useMember to get data from a specific member.

Imports

Definition

Source: useMemberList

Parameters

streamId

  • Type: string
The id of the stream to get the members of.

config

  • Type: ObservableConfig.FromData<MembersModel>
  • Optional
Configuration options for the observable.

Return Type

The MembersModel of the stream, containing the userIds of the members.