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

Waits for the specified reaction. This uses the same logic as bot.reaction.

Parameters

reaction: MaybeArray<ReactionTypeEmoji["emoji"] | ReactionType>

The reaction to wait for

optional
opts: OtherwiseConfig<C>

Optional config for discarded updates