import { type TransformableApi } from "https://dotland.deno.dev/x/grammy@v1.15.0/mod.ts";
A transformable API enhances the RawApi
type by transformers.
Properties
use: (...transformers: Transformer<R>[]) => this
Can be used to register any number of transformers on the API.
installedTransformers: Transformer<R>[]
Returns a readonly list or the currently installed transformers. The list is sorted by time of installation where index 0 represents the transformer that was installed first.