Struct telebot::functions::KickChatMember [] [src]

pub struct KickChatMember { /* fields omitted */ }

Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the group for this to work. Returns True on success.