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 8.1+.
This library used under the hood in the GramIO framework (Please see documentation).
import { ContextType } from "@gramio/contexts";
type Message = ContextType<Bot, "message">;