Skip to content

export TypeAlias

NestCallback ​

Returning a value or null will replace the old value, returning void or undefined will skip the current iteration.

if Nesting.array is true:

(type: 'array', index: number, value: any) => any

(type: 'json', key: any, value: any) => any

Otherwise it is:

(key: any, value: any) => any

Function

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.