Skip to content

export abstract Class

Extension ​

Constructor ​

ts
 new Extension( client, metadata )
ParameterTypeDescription
clientClient
metadataExtensionMetadata<Extension.T>

Properties ​

readonly client : Client ​

readonly metadata : ExtensionMetadata<Extension.T> ​

Methods ​

asynconLoad( ) ​

Returns: Promise<void>

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