ChannelParticipantAdmin#
- class pyrogram.raw.types.ChannelParticipantAdmin#
Admin.
Constructor of
ChannelParticipant.- Details:
Layer:
158ID:
34C3BB53
- Parameters:
user_id (
int64-bit) – Admin user ID.promoted_by (
int64-bit) – User that promoted the user to admin.date (
int32-bit) – When did the user join.admin_rights (
ChatAdminRights) – Admin rights.can_edit (
bool, optional) – Can this admin promote other admins with the same permissions?.is_self (
bool, optional) – N/Ainviter_id (
int64-bit, optional) – User that invited the admin to the channel/group.rank (
str, optional) – The role (rank) of the admin in the group: just an arbitrary string, admin by default.