InputPrivacyValueAllowUsers
- class pyrogram.raw.types.InputPrivacyValueAllowUsers
Allow only certain users
Constructor of
InputPrivacyRule.- Details:
Layer:
223ID:
131CC67F
- Parameters:
users (List of
InputUser) – Allowed users
TL Schema
inputPrivacyValueAllowUsers#131cc67f
users:Vector<InputUser>
= InputPrivacyRule
Parameter Tree
InputPrivacyValueAllowUsers
└── users →
Vector < InputUser >├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
InputPrivacyValueAllowUsers(
users=[
await app.resolve_user(chat_id)
],
)