Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / ScreenshotResult

Interface: ScreenshotResult ​

Defined in: botjs/src/screenshot.ts:59

Screenshot result with image data and metadata

Properties ​

image ​

image: Buffer

Defined in: botjs/src/screenshot.ts:61

PNG-encoded image buffer


region ​

region: ScreenRegion

Defined in: botjs/src/screenshot.ts:63

Captured region


timestamp ​

timestamp: number

Defined in: botjs/src/screenshot.ts:65

Capture timestamp (Unix timestamp)

Released under the MIT License.