peyk.platforms.bale.methods.ban_chat_member

async peyk.platforms.bale.methods.ban_chat_member(self, chat_id: int | str, user_id: int) bool[source]

Performs the ban chat member operation for the Bale client.

Parameters:
  • chat_id – Identifier of the target chat.

  • user_id – Identifier of the target user.

Returns:

Result produced by the Bale operation.