SetChatAdministratorCustomTitleRequest

fun SetChatAdministratorCustomTitleRequest(chatId: Int, userId: Int, customTitle: String)

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