jiti-meet/react/features/chat/actions.native.ts

21 lines
379 B
TypeScript
Raw Normal View History

import { OPEN_CHAT } from './actionTypes';
2020-07-21 12:21:01 +00:00
export * from './actions.any';
/**
* Displays the chat panel.
2020-07-21 12:21:01 +00:00
*
* @param {Object} participant - The recipient for the private chat.
*
* @returns {{
* participant: Participant,
* type: OPEN_CHAT
* }}
2020-07-21 12:21:01 +00:00
*/
export function openChat(participant: Object) {
return {
participant,
type: OPEN_CHAT
2020-07-21 12:21:01 +00:00
};
}