<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def move_messages(self, ids, folder_id):
 """ Move selected messages to an other folder :param msg_ids: list of message's ids to move :param folder_id: folder's id where to move messages """

        str_ids = self._return_comma_list(ids)
        params = {'action': {
            'id': str_ids,
            'op': 'move',
            'l': folder_id
        }}

        self.request('MsgAction', params)