UpdateChatParticipantAdmin

class pyrogram.raw.types.UpdateChatParticipantAdmin

Admin permissions of a user in a legacy group were changed.

Constructor type of Update.

Details
  • Layer: 126

  • ID: 0xb6901959

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

  • user_id (int 32-bit) – ID of the (de)admined user.

  • is_admin (bool) – Whether the user was rendered admin.

  • version (int 32-bit) – Used in basic groups to reorder updates and make sure that all of them was received.