code: def send(self, ws, seq):
          
  
          payload = {'op': 1, 'd': seq}
          payload = json.dumps(payload)
          logger.debug("Sending heartbeat with payload {}".format(payload))
          ws.send(payload)
          return
docs: Sends heartbeat message to Discord
  
          Attributes:
              ws: Websocket connection to discord
              seq: Sequence number of heartbeat