Function useChatMessageActions
- useChatMessageActions(__namedParameters): {
deleteChatMessage: ((__namedParameters) => void);
sendChatMessage: ((messageArgs) => Promise<any>);
} Parameters
__namedParameters: {
roomId: any;
}
Returns {
deleteChatMessage: ((__namedParameters) => void);
sendChatMessage: ((messageArgs) => Promise<any>);
}
deleteChatMessage: ((__namedParameters) => void)
- (__namedParameters): void
Parameters
__namedParameters: {
chatMessage: any;
roomId: any;
}
chatMessage: any
roomId: any
Returns void
sendChatMessage: ((messageArgs) => Promise<any>)
- (messageArgs): Promise<any>
Returns Promise<any>