toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.requests.chat.members
/
UnbanChatMember
Unban
Chat
Member
@
Serializable
data
class
UnbanChatMember
(
val
chatId
:
ChatIdentifier
,
val
userId
:
UserId
,
val
onlyIfBanned
:
Boolean
?
=
null
)
:
ChatMemberRequest
<
Boolean
>
Members
Constructors
Unban
Chat
Member
Link copied to clipboard
constructor
(
chatId
:
ChatIdentifier
,
userId
:
UserId
,
onlyIfBanned
:
Boolean
?
=
null
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
ChatIdentifier
only
If
Banned
Link copied to clipboard
@
SerialName
(
value
=
"only_if_banned"
)
val
onlyIfBanned
:
Boolean
?
=
null
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