UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

19 lines 531 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _shoehorn = require("@total-typescript/shoehorn"); var _default = (client, channel = {}, payload = {}, user = {}) => { var newDate = new Date(); client.dispatchEvent((0, _shoehorn.fromPartial)({ channel, cid: channel.cid, created_at: newDate, received_at: newDate, type: 'notification.mark_unread', user, ...payload })); }; exports.default = _default; //# sourceMappingURL=notificationMarkUnread.js.map