API
useSetDisplayName
Hook to set the display name of the current user in a stream.
Imports
Definition
Source: useSetDisplayName
Parameters
streamId
- Type:
string
The id of the stream to set the display name of.
config
- Type:
ActionConfig<Myself['setDisplayName']>
- Optional
Configuration options for the action.
Return Type
The setDisplayName
action and its loading state.
Was this page helpful?