@gramio/contexts
Version:
Contexts for GramIO framework
21 lines (13 loc) • 1.13 kB
Markdown
# @gramio/contexts
[](https://www.npmjs.org/package/@gramio/contexts)
[](https://www.npmjs.org/package/@gramio/contexts)
[](https://jsr.io/@gramio/contexts)
[](https://jsr.io/@gramio/contexts)
Contexts is a great work of the [puregram](https://github.com/nitreojs/puregram) maintainer! Thank you for many code implementation and ideas. Forked since this [commit](https://github.com/nitreojs/puregram/commit/b431d9303de1696999e7f41f45d7c4d7d264c272). (Jan 28, 2024)
Currently, support [Telegram Bot API 9.0+](https://core.telegram.org/bots/api-changelog#april-11-2025).
This library used under the hood in the GramIO framework (Please see [documentation](https://gramio.dev/)).
## TypeScript
```typescript
import { ContextType } from "@gramio/contexts";
type Message = ContextType<Bot, "message">;
```