<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def push_msg(self, channel_id, msg):
 """Push ``msg`` for given ``channel_id``. If ``msg`` is not string, it will be urlencoded """


        if type(msg) is not str:
            msg = urlencode(msg)

        return self.push(channel_id, msg)