Skip to main content
Module

x/grammy_chat_members/deps.deno.ts

Store chats, users, and chat memberships.
Latest
import * as grammyChatMembers from "https://deno.land/x/grammy_chat_members@v1.1.0/deps.deno.ts";

Classes

The composer is the heart of the middleware system in grammY. It is also the superclass of Bot. Whenever you call use or on or some of the other methods on your bot, you are in fact using the underlying composer instance to register your middleware.

When your bot receives a message, Telegram sends an update object to your bot. The update contains information about the chat, the user, and of course the message itself. There are numerous other updates, too: https://core.telegram.org/bots/api#update

Interfaces

Internal type representing channel chats.

Internal type representing channel chats returned from getChat.

Internal type representing group chats.

Internal type representing group chats returned from getChat.

Internal type representing private chats.

Internal type representing private chats returned from getChat.

Internal type representing super group chats.

Internal type representing supergroup chats returned from getChat.

This object represents changes in the status of a chat member.

A storage adapter is an abstraction that provides read, write, and delete access to a storage solution of any kind. Storage adapters are used to keep session middleware independent of your database provider, and they allow you to pass your own storage solution.

This object represents a Telegram user or bot.

Type Aliases

This object represents a chat.

This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:

  • ChatMemberOwner
  • ChatMemberAdministrator
  • ChatMemberMember
  • ChatMemberRestricted
  • ChatMemberLeft
  • ChatMemberBanned