Skip to main content
Module

x/grammy_parse_mode/hydrate.ts>ParseModeFlavor

Safely format messages and keep their source code maintainable.
Latest
type alias ParseModeFlavor
import { type ParseModeFlavor } from "https://deno.land/x/grammy_parse_mode@1.9.0/hydrate.ts";

Context flavor for Context that will be hydrated with an additional set of reply methods from hydrateReply

definition: C & { replyFmt: (stringLike: Stringable, ...args: Tail<Parameters<C["reply"]>>) => ReturnType<C["reply"]>; replyWithHTML: C["reply"]; replyWithMarkdown: C["reply"]; replyWithMarkdownV1: C["reply"]; replyWithMarkdownV2: C["reply"]; }