Skip to main content

Contexts for GramIO framework

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
70%
Published
2 weeks ago (0.0.15)

@gramio/contexts

npm JSR JSR Score

Contexts is a great work of the puregram maintainer! Thank you for many code implementation and ideas. Forked since this commit. (Jan 28, 2024)

Currently, support Telegram Bot API 7.3.

This library used under the hood in the GramIO framework (Please see documentation).

TypeScript

import { ContextType } from "@gramio/contexts";

type Message = ContextType<Bot, "message">;
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @gramio/contexts

Import symbol

import * as mod from "@gramio/contexts";

Add Package

npx jsr add @gramio/contexts

Import symbol

import * as mod from "@gramio/contexts";

Add Package

yarn dlx jsr add @gramio/contexts

Import symbol

import * as mod from "@gramio/contexts";

Add Package

pnpm dlx jsr add @gramio/contexts

Import symbol

import * as mod from "@gramio/contexts";

Add Package

bunx jsr add @gramio/contexts

Import symbol

import * as mod from "@gramio/contexts";