BanChatMember constructor

BanChatMember(
  1. {required int chat_id,
  2. required MessageSender member_id,
  3. required int banned_until_date,
  4. required bool revoke_messages,
  5. int? extra,
  6. int? clientId}
)

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

Returns Ok

Implementation

BanChatMember