You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.native.ts 379B

1234567891011121314151617181920
  1. import { OPEN_CHAT } from './actionTypes';
  2. export * from './actions.any';
  3. /**
  4. * Displays the chat panel.
  5. *
  6. * @param {Object} participant - The recipient for the private chat.
  7. *
  8. * @returns {{
  9. * participant: Participant,
  10. * type: OPEN_CHAT
  11. * }}
  12. */
  13. export function openChat(participant: Object) {
  14. return {
  15. participant,
  16. type: OPEN_CHAT
  17. };
  18. }