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

x/grammy/types.deno.ts>ChatMember

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias ChatMember
Re-export
import { type ChatMember } from "https://deno.land/x/grammy@v1.17.0/types.deno.ts";

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
definition:
| ChatMemberOwner
| ChatMemberAdministrator
| ChatMemberMember
| ChatMemberRestricted
| ChatMemberLeft
| ChatMemberBanned