Skip to main content
Module

x/grammy_conversations/mod.ts>ConversationHandle#wait

Conversational interfaces for grammY
Go to Latest
method ConversationHandle.prototype.wait
import { ConversationHandle } from "https://deno.land/x/grammy_conversations@v1.1.1/mod.ts";

Waits for a new update (e.g. a message, callback query, etc) from the user. Once received, this method returns the new context object for the incoming update.

Parameters

optional
opts: { maxMilliseconds?: number; } = [UNSUPPORTED]

Returns

Promise<C>