UpdateChatParticipantAdmin#

class pyrogram.raw.types.UpdateChatParticipantAdmin#

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

Constructor of Update.

Details:
  • Layer: 158

  • ID: D7CA61A2

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

  • user_id (int 64-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.