import { hydrate } from "https://deno.land/x/grammy_hydrate@v1.4.1/plugin.ts";
Plugin that hydrates the context object and API call results, and equips the
objects with useful methods that are calling bot.api
with values prefilled
from the object they are installed on.
For example, this plugin allows you to use await ctx.message.delete()
instead of
await ctx.deleteMessage()
.
Check out the official plugin documentation on the grammY webiste.
Type Parameters
C extends Context