toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.requests.chat.members
/
SetChatAdministratorCustomTitle
Set
Chat
Administrator
Custom
Title
@
Serializable
data
class
SetChatAdministratorCustomTitle
(
val
chatId
:
ChatIdentifier
,
val
userId
:
UserId
,
val
customTitle
:
String
)
:
ChatMemberRequest
<
Boolean
>
Members
Constructors
Set
Chat
Administrator
Custom
Title
Link copied to clipboard
constructor
(
chatId
:
ChatIdentifier
,
userId
:
UserId
,
customTitle
:
String
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
ChatIdentifier
custom
Title
Link copied to clipboard
@
SerialName
(
value
=
"custom_title"
)
val
customTitle
:
String
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
open
override
val
userId
:
UserId
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String