Class BanChatSenderChat

  • All Implemented Interfaces:
    Validable

    public class BanChatSenderChat
    extends BotApiMethod<Boolean>
    Version:
    5.5 Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.
    Author:
    Ruben Bermudez