Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/client/5_client.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.128/client/5_client.ts";

Parameters

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