skip to content
yaebal
yaebal
guide introduction yaebal meta ai tooling newgetting started create a bot core concepts examples recipes comparison cheat sheet typed examples faq troubleshooting
core context & filters contexts (autogen) media & files hooks & errors webhooks & deploy
telegram guides payments & stars inline mode chat admin service events message extras deep links mini apps
migration from gramio from puregram from grammy from telegraf
plugins / state overview authoring session sklad (storage) cache feature-flags i18n scenes state-machine onboarding conversation prompt ai (llm chat) newmorda
plugins / ui keyboard callback-data link-preview inline-results auto-answer hydrate newtyping ephemeral newpagination fmt (markdown/html) rich messages filters guards commands payments mini-app
plugins / media files file-id media-cache media-group split preview
plugins / ops again throttle ratelimiter broadcast cron panel analytics audit-log
scaling web (edge) production local bot api rate limits deploy targets observability queues & broadcasts runner workers runtimes router toml test
reference public api reference bot api reference @yaebal/types packages map
github opens in a new tab
Available types

ChatMember

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

one of

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

import

types.ts
import type { ChatMember } from "@yaebal/types";

used by

methods

  • getChatAdministrators
  • getChatMember

types

  • ChatMemberUpdated
official Bot API docs: https://core.telegram.org/bots/api/#chatmember
edit this page