docs
4.1.0
common
docs
/
dev.inmo.tgbotapi.requests.chat.members
/
BanChatMember
Ban
Chat
Member
@
Serializable
data
class
BanChatMember
(
val
chatId
:
ChatIdentifier
,
val
userId
:
UserId
,
val
untilDate
:
TelegramDate
?
=
null
,
val
revokeMessages
:
Boolean
?
=
null
)
:
ChatMemberRequest
<
Boolean
>
,
UntilDate
Constructors
Functions
Properties
Constructors
Ban
Chat
Member
Link copied to clipboard
fun
BanChatMember
(
chatId
:
ChatIdentifier
,
userId
:
UserId
,
untilDate
:
TelegramDate
?
=
null
,
revokeMessages
:
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
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>
revoke
Messages
Link copied to clipboard
val
revokeMessages
:
Boolean
?
=
null
until
Date
Link copied to clipboard
open
override
val
untilDate
:
TelegramDate
?
=
null
user
Id
Link copied to clipboard
open
override
val
userId
:
UserId