DeleteChatUser

class pyrogram.raw.functions.messages.DeleteChatUser

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

Details
  • Layer: 126

  • ID: 0xc534459a

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

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

  • revoke_history (bool, optional) – Telegram API parameter.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.