Class KickChatMember

  • All Implemented Interfaces:
    Validable

    @Deprecated
    public class KickChatMember
    extends BotApiMethod<Boolean>
    Deprecated.
    Use BanChatMember() instead
    Version:
    1.0 Use this method to kick a user from a group, a supergroup or a channel. 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.
    Author:
    Ruben Bermudez