def run(self):
slack = SlackAPI(token=self.token)<EOL>rtm = slack.rtm_start()<EOL>factory = SlackClientFactory(rtm['<STR_LIT:url>'])<EOL>factory.protocol = SlackClientProtocol<EOL>factory.protocol.slack = slack<EOL>factory.protocol.channel_layer = self.channel_layer<EOL>factory.channel_name = self.channel_name<EOL>factory.run()<EOL>
Main interface. Instantiate the SlackAPI, connect to RTM
and start the client.