params): Promise<void>Sets a state object for a member, for the specified channels. The previous state object will be completely replaced.
Configuration object for setting member state
Channels for which to set the state.
Id of the member to affect. If not provided, defaults to the current member.
The state to set. There are no requirements on the content of the state.
Promise<void>