How to use the @slack/client.RTM_EVENTS.GROUP_MARKED function in @slack/client

To help you get started, we’ve selected a few @slack/client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ChartIQ / finsemble-seed / node_fileserver / slack.js View on Github external
});

	});
	rtm.on(CLIENT_EVENTS.RTM.RTM_CONNECTION_OPENED, function () {
	});

	rtm.on(CLIENT_EVENTS.RTM.WS_ERROR, function (err) {
		rtm.sendMessage("Hello!", err);
	});

	rtm.on(RTM_EVENTS.IM_MARKED, function handleRtmMessage(message) {
		console.log('dmMarked:', message);
		socket.emit("dmMarked", message);
	});

	rtm.on(RTM_EVENTS.GROUP_MARKED, function handleRtmMessage(message) {
		console.log('groupMarked:', message);
		socket.emit("groupMarked", message);
	});
	rtm.on(RTM_EVENTS.CHANNEL_MARKED, function handleRtmMessage(message) {
		console.log('channelMarked:', message);
		socket.emit("channelMarked", message);
	});
	rtm.on(RTM_EVENTS.MPIM_OPEN, function handleRtmMessage(message) {
		console.log('MPIM_OPEN:', message);

	});
	rtm.on(RTM_EVENTS.MPIM_JOINED, function handleRtmMessage(message) {
		console.log('MPIM_JOINED:', message);

	});
	rtm.on(RTM_EVENTS.USER_TYPING, function handleRtmMessage(message) {