Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.139/mod.ts";

Parameters

commands:
| string
| RegExp
| (string | RegExp)[]
| { names: string | RegExp | (string | RegExp)[]; prefixes: string | string[]; }
...middleawre: Middleware<WithFilter<C, "message:text">>[]