SetChatAdministratorCustomTitleRequest

data class SetChatAdministratorCustomTitleRequest(chatId: Int, userId: Int, customTitle: String)

Request body for setChatAdministratorCustomTitle

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

Constructors

SetChatAdministratorCustomTitleRequest
Link copied to clipboard
common
fun SetChatAdministratorCustomTitleRequest(chatId: Int, userId: Int, customTitle: String)
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): Int
component3
Link copied to clipboard
common
operator fun component3(): String
copy
Link copied to clipboard
common
fun copy(chatId: Int, userId: Int, customTitle: String): SetChatAdministratorCustomTitleRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

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