How to use the @slack/client.RTM_EVENTS.CHANNEL_DELETED 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
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) {
		console.log('USER_TYPING:', message);

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

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

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

	});




	rtm.on(RTM_EVENTS.MESSAGE, function handleRtmMessage(message) {
		console.log('Message:', message);
		/*Object
			channel:"D3J5SLQ77"
			team:"T3JNM7M9C"