def join_channel(self, channel, key=None, tags=None):
params = [channel]<EOL>if key:<EOL><INDENT>params.append(key)<EOL><DEDENT>self.send('<STR_LIT>', params=params, tags=tags)<EOL>
Join the given channel.