channels.EditAdmin
- class pyrogram.raw.functions.channels.EditAdmin
Modify the admin rights of a user in a supergroup/channel.
- Details:
Layer:
194
ID:
D33C8902
- Parameters:
channel (
InputChannel
) – The supergroup/channel.user_id (
InputUser
) – The ID of the user whose admin rights should be modifiedadmin_rights (
ChatAdminRights
) – The admin rightsrank (
str
) – Indicates the role (rank) of the admin in the group: just an arbitrary string
- Returns: