method ApiMethods.unbanChatSenderChat
ApiMethods.unbanChatSenderChat(args: { chat_id: number | string; sender_chat_id: number; }): true

Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns True on success.

Parameters

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

Return Type

true

Usage

import { type ApiMethods } from "types";