BanChatMember constructor
const
BanChatMember({
- required int chatId,
- required MessageSender memberId,
- required int bannedUntilDate,
- required bool revokeMessages,
Bans a member in a chat. Members can't be banned in private or secret chats. In supergroups and channels, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first
Implementation
const BanChatMember({
required this.chatId,
required this.memberId,
required this.bannedUntilDate,
required this.revokeMessages,
});