<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def join_channel(self, channel, key=None, tags=None):
 """Join the given channel."""

        params = [channel]
        if key:
            params.append(key)
        self.send('JOIN', params=params, tags=tags)