set Chat Administrator Custom Title
suspend fun TelegramBotApiClient.setChatAdministratorCustomTitle(requestBody: SetChatAdministratorCustomTitleRequest): TelegramResponse<Boolean>
Content copied to clipboard
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
suspend fun TelegramBotApiClient.setChatAdministratorCustomTitle(chatId: Int, userId: Int, customTitle: String): TelegramResponse<Boolean>
Content copied to clipboard
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
Parameters
chatId
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
userId
Unique identifier of the target user
customTitle
New custom title for the administrator; 0-16 characters, emoji are not allowed