SetChatAdministratorCustomTitleRequest

data class SetChatAdministratorCustomTitleRequest(chat_id: String, user_id: Long, custom_title: String) : TelegramRequest

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

Constructors

SetChatAdministratorCustomTitleRequest
Link copied to clipboard
fun SetChatAdministratorCustomTitleRequest(chat_id: String, user_id: Long, custom_title: String)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
custom_title
Link copied to clipboard
val custom_title: String
New custom title for the administrator; 0-16 characters, emoji are not allowed
user_id
Link copied to clipboard
val user_id: Long
Unique identifier of the target user