Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/filter.ts

The Telegram Bot Framework.
Very Popular
Latest
import * as grammy from "https://deno.land/x/grammy@v1.30.1/filter.ts";

Functions

This is an advanced function of grammY.

Type Aliases

This type infers which properties will be present on the given context object provided it matches the given filter query. If the filter query is a union type, the produced context object will be a union of possible combinations, hence allowing you to narrow down manually which of the properties are present.

Represents a filter query that can be passed to bot.on. There are three different kinds of filter queries: Level 1, Level 2, and Level 3. Check out the website to read about how filter queries work in grammY, and how to use them.