ktgbotapi
common
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
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
only
If
Banned
Link copied to clipboard
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
open
override
val
userId
:
UserId