Skip to content

export abstract Class

Auxiliary ​

extends ​

Piece<AuxiliaryMeta>

Constructor ​

ts
 new Auxiliary( context_piece, context_metadata )
ParameterTypeDescription
context_piecePieceContext
context_metadataAuxiliaryMeta

Properties ​

get enabled : boolean ​

readonly client : Client ​

name? : string ​

registry : AuxiliariesRegistry ​

Methods ​

load( ...args ) ​

ParameterTypeDescription
...argsunknown[]

Returns: void

onLoad( ) ​

Returns: undefined

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