useChatroomMenuOptions
Introduction
The useChatroomMenuOptions
hook provides you with the chatroom menu options. You can use this hook to create your own custom UI for chatroom menu options.
Property | Type | Description | Optional |
---|---|---|---|
onMute | ZeroArgVoidReturns | Mutes the chatroom. | |
onViewParticipants | OneArgVoidReturns <string | number> | Views the participants of the chatroom. | |
onLeaveChatroom | ZeroArgVoidReturns | Leaves the chatroom. | |
onBlock | ZeroArgVoidReturns | Blocks a user in the chatroom. | |
onUnBlock | ZeroArgVoidReturns | Unblocks a user in the chatroom. |
Reference
For reference checkout this file