code: def send_notice(self, room_id, text_content, timestamp=None):
          
          body = {
              "msgtype": "m.notice",
              "body": text_content
          }
          return self.send_message_event(room_id, "m.room.message", body,
                                         timestamp=timestamp)
docs: Perform PUT /rooms/$room_id/send/m.room.message with m.notice msgtype
  
          Args:
              room_id (str): The room ID to send the event in.
              text_content (str): The m.notice body to send.
              timestamp (int): Set origin_server_ts (For application services only)