ChatParticipantAdmin

class pyrogram.raw.types.ChatParticipantAdmin

Chat admin

Constructor of ChatParticipant.

Details:
  • Layer: 223

  • ID: 360D5D2

Parameters:
  • user_id (int 64-bit) – ID of a group member that is admin

  • inviter_id (int 64-bit) – ID of the user that added the member to the group

  • date (int 32-bit) – Date when the user was added

  • rank (str, optional) – N/A

TL Schema

chatParticipantAdmin#360d5d2
flags:#
user_id:long
inviter_id:long
date:int
rank:flags.0?string

= ChatParticipant

Parameter Tree

ChatParticipantAdmin
├── user_idlong
├── inviter_idlong
├── dateint
└── rankstring (optional)

Example

ChatParticipantAdmin(
    user_id=0,
    inviter_id=0,
    date=0,
)