method ApiMethods.setChatAdministratorCustomTitle
ApiMethods.setChatAdministratorCustomTitle(args: { chat_id: number | string; user_id: number; custom_title: string; }): true

Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.

Parameters

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

Return Type

true

Usage

import { type ApiMethods } from "types";