messages.DeleteChatUser#

class pyrogram.raw.functions.messages.DeleteChatUser#

Deletes a user from a chat and sends a service message on it.

Details:
  • Layer: 158

  • ID: A2185CAB

Parameters:
  • chat_id (int 64-bit) – Chat ID.

  • user_id (InputUser) – User ID to be deleted.

  • revoke_history (bool, optional) – Remove the entire chat history of the specified user in this chat.

Returns:

Updates