docs
5.2.1
common
docs
/
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
>
Constructors
Functions
Properties
Constructors
Unban
Chat
Member
Link copied to clipboard
fun
UnbanChatMember
(
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