INNER CODE UNIT · TypeScript

Context

grammyjs/grammY · src/context.ts:392

export class Context implements RenamedUpdate {
    /**
     * Used by some middleware to store information about how a certain string
     * or regular expression was matched.
     */
    public match: string | RegExpMatchArray | undefined;

    constructor(
        /**
         * The update object that is contained in the context.
         */
        public readonly update: Update,
        /**
         * An API instance that allows you to call any method of the Telegram
         * Bot API.
         */
        public readonly api: Api,
        /**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…