Skip to content

Tego Bot API Documentation v0.1.1


Tego Bot API Documentation / typeString

Function: typeString()

typeString(text): void

Defined in: index.ts:325

Type a string of text by simulating individual keystrokes

Parameters

text

string

Text string to type

Returns

void

Example

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

// Type text
typeString('Hello, World!');

// Type email address
typeString('user@example.com');

// Type with special characters
typeString('Password123!@#');

Released under the MIT License.