Unban Chat Member Request
data class UnbanChatMemberRequest(chatId: Int, userId: Int, onlyIfBanned: Boolean)
Content copied to clipboard
Request body for unbanChatMember
Parameters
chatId
Unique identifier for the target group or username of the target supergroup or channel (in the format @username)
userId
Unique identifier of the target user
onlyIfBanned
Do nothing if the user is not banned
Constructors
UnbanChatMemberRequest
Link copied to clipboard
fun UnbanChatMemberRequest(chatId: Int, userId: Int, onlyIfBanned: Boolean = false)
Content copied to clipboard
Unique identifier for the target group or username of the target supergroup or channel (in the format @username)
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard