MessageHead
As the fixed header in chat room, MessageHead
is used to render the chat room information and provide functions, such as inviting people into a group. It must exist as the Chat
and Channel
subcomponent, because MessageHead
needs to get the activeChannel
and client
properties from the context.
Basic Usage
tip
If your channelList list is empty, you can create a chat room in createChannel and select it to send messages.
MessageHead
does not inject any props.