Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#command

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.command
import { Client } from "https://deno.land/x/mtkruto@0.1.118/mod.ts";

Parameters

commands: string | RegExp | (string | RegExp)[]
...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]