Telegram Bot API

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

post/setChatAdministratorCustomTitle

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/setChatAdministratorCustomTitle
  • Auth: none declared

Request body

user_idinteger required

Unique identifier of the target user

custom_titlestring required

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

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.