Skip to main content
Latest
method ConversationHandle.prototype.wait
import { ConversationHandle } from "https://deno.land/x/grammy_conversations@v1.2.0/conversation.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>