@yaebal/contexts
v0.1.2
Published
yaebal contexts — per-update context classes with auto-generated shortcut methods.
Maintainers
Readme
@yaebal/contexts
@yaebal/contexts — a context class per Update type (MessageContext,
CallbackQueryContext, …), each merging the raw payload fields and exposing
shortcut methods (reply, editText, delete, answer, …) that are
AUTO-GENERATED from the Bot API methods + the ids the context carries.
regenerate with pnpm --filter @yaebal/contexts generate.
install
pnpm add @yaebal/contextspart of yaebal — a type-safe, runtime-agnostic Telegram Bot API framework. MIT.
