Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / SaveImageOptions

Interface: SaveImageOptions ​

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

Image save options

Properties ​

format? ​

optional format: string

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

Image format ('png' | 'jpg' | 'webp')


quality? ​

optional quality: number

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

Image quality (1-100, for JPG/WebP)

Released under the MIT License.