def transmit(self, channel, message):
		"""
		Send the message to Slack.

		:param channel: channel or user to whom the message should be sent.
			If a ``thread`` attribute is present, that thread ID is used.
		:param str message: message to send.
		"""
		target = (
			self.slack.server.channels.find(channel)
			or self._find_user_channel(username=channel)
		)
		message = self._expand_references(message)

		target.send_message(message, thread=getattr(channel, 'thread', None))