Kick Chat Member Request
data class KickChatMemberRequest(chat_id: String, user_id: Long, until_date: Long?, revoke_messages: Boolean?) : TelegramRequest
Content copied to clipboard
Use this method to kick a user from a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
Constructors
KickChatMemberRequest
Link copied to clipboard
fun KickChatMemberRequest(chat_id: String, user_id: Long, until_date: Long? = null, revoke_messages: Boolean? = null)
Content copied to clipboard