EditChatAdmin

class pyrogram.raw.functions.messages.EditChatAdmin

Make a user admin in a legacy group.

Details
  • Layer: 126

  • ID: 0xa9e69f2e

Parameters
  • chat_id (int 32-bit) – The ID of the group.

  • user_id (InputUser) – The user to make admin.

  • is_admin (bool) – Whether to make him admin.

Returns

bool – Primitive type.