<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def im_history(self, room_id, **kwargs):
 """Retrieves the history for a private im chat"""

        return self.__call_api_get('im.history', roomId=room_id, kwargs=kwargs)