Kick Chat Member Request
data class KickChatMemberRequest(chatId: Int, userId: Int, untilDate: Int?)
Content copied to clipboard
Request body for kickChatMember
Parameters
chatId
Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)
userId
Unique identifier of the target user
untilDate
Date when the user will be unbanned, unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.
Constructors
KickChatMemberRequest
Link copied to clipboard
fun KickChatMemberRequest(chatId: Int, userId: Int, untilDate: Int? = null)
Content copied to clipboard
Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard