vn-verdnaturachat/app/actions/snippetedMessages.js

22 lines
381 B
JavaScript
Raw Normal View History

import * as types from './actionsTypes';
export function openSnippetedMessages(rid) {
return {
type: types.SNIPPETED_MESSAGES.OPEN,
rid
};
}
export function closeSnippetedMessages() {
return {
type: types.SNIPPETED_MESSAGES.CLOSE
};
}
export function snippetedMessagesReceived(messages) {
return {
type: types.SNIPPETED_MESSAGES.MESSAGES_RECEIVED,
messages
};
}