Skip to main content
Home

Built and signed on GitHub Actions

Contexts for GramIO framework

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
10 months ago (0.0.23)

@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.8.

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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@gramio/contexts

Import symbol

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

Import directly with a jsr specifier

import * as contexts from "jsr:@gramio/contexts";

Add Package

pnpm i jsr:@gramio/contexts
or (using pnpm 10.8 or older)
pnpm dlx jsr add @gramio/contexts

Import symbol

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

Add Package

yarn add jsr:@gramio/contexts
or (using Yarn 4.8 or older)
yarn dlx jsr add @gramio/contexts

Import symbol

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

Add Package

vlt install jsr:@gramio/contexts

Import symbol

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

Add Package

npx jsr add @gramio/contexts

Import symbol

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

Add Package

bunx jsr add @gramio/contexts

Import symbol

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