Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / clearClipboard

Function: clearClipboard() ​

clearClipboard(): void

Defined in: botjs/src/index.ts:568

Clear the system clipboard contents

Returns ​

void

Example ​

typescript
import { clearClipboard } from "@tego/botjs";

clearClipboard();
console.log('Clipboard cleared');

Released under the MIT License.