<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def chat_search(self, room_id, search_text, **kwargs):
 """Search for messages in a channel by id and text message."""

        return self.__call_api_get('chat.search', roomId=room_id, searchText=search_text, kwargs=kwargs)