API
useDm
Hook to get the data of a DM. You can use this hook to get DM metadata and if the user has joined the DM.
Imports
Definition
Source: useDm
Parameters
streamId
- Type:
string
The id of the DM to get the data of.
config
- Type:
ObservableConfig.FromData<DmModel>
- Optional
Configuration options for the observable.
Return Type
The DmModel of the DM.
Was this page helpful?