code: def send_state_event(self, event_type, content, state_key=""):
          
          return self.client.api.send_state_event(
              self.room_id,
              event_type,
              content,
              state_key
          )
docs: Send a state event to the room.
  
          Args:
              event_type (str): The type of event that you are sending.
              content (): An object with the content of the message.
              state_key (str, optional): A unique key to identify the state.