UpdateChatParticipantAdmin#

class pyrogram.raw.types.UpdateChatParticipantAdmin#

Admin permissions of a user in a basic group were changed

Constructor of Update.

Details:
  • Layer: 225

  • 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 similarly to pts values to deduplicate/update outdated chat information as specified here ».