code: def move_messages(self, ids, folder_id):
          
          str_ids = self._return_comma_list(ids)
          params = {'action': {
              'id': str_ids,
              'op': 'move',
              'l': folder_id
          }}
  
          self.request('MsgAction', params)
docs: 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