messages.EditChatAdmin#

class pyrogram.raw.functions.messages.EditChatAdmin#

Make a user admin in a basic group.

Details:
  • Layer: 158

  • ID: A85BD1C2

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

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

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

Returns:

bool