method ApiMethods.getChatMember
ApiMethods.getChatMember(args: { chat_id: number | string; user_id: number; }): ChatMember

Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success.

Parameters

args: { chat_id: number | string; user_id: number; }

Return Type

Usage

import { type ApiMethods } from "types";