Skip to main content
Module

x/mtkruto/1_utilities.ts>mustPromptOneOf

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function mustPromptOneOf
import { mustPromptOneOf } from "https://deno.land/x/mtkruto@0.1.100/1_utilities.ts";

Type Parameters

T extends readonly string[]

Parameters

message: string
choices: T

Returns

T[number]