code: def chat_post_message(self, text, room_id=None, channel=None, **kwargs):
          
          if room_id:
              return self.__call_api_post('chat.postMessage', roomId=room_id, text=text, kwargs=kwargs)
          elif channel:
              return self.__call_api_post('chat.postMessage', channel=channel, text=text, kwargs=kwargs)
          else:
              raise RocketMissingParamException('roomId or channel required')
docs: Posts a new chat message.