Skip to main content
Latest
method ConversationHandle.prototype.waitForReplyTo
import { ConversationHandle } from "https://deno.land/x/grammy_conversations@v1.2.0/mod.ts";

Waits for a new message or channel post which replies to the specified message. As soon as an update arrives that contains such a message or channel post, the corresponding context object is returned.

Parameters

message_id: number | { message_id: number; }

The message to which to reply

optional
opts: OtherwiseConfig<C>

Optional config for discarded updates

Returns

Promise<Filter<C, "message" | "channel_post">>