Skip to main content
Module

x/grammy_parse_mode/deps.deno.ts>Context#setChatAdministratorAuthorCustomTitle

Safely format messages and keep their source code maintainable.
Go to Latest
method Context.prototype.setChatAdministratorAuthorCustomTitle
Re-export
import { Context } from "https://deno.land/x/grammy_parse_mode@1.9.0/deps.deno.ts";

Context-aware alias for api.setChatAdministratorCustomTitle. Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.

Parameters

custom_title: string

New custom title for the administrator; 0-16 characters, emoji are not allowed

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#setchatadministratorcustomtitle