InputPrivacyValueDisallowUsers

class pyrogram.raw.types.InputPrivacyValueDisallowUsers

Disallow only certain users

Constructor of InputPrivacyRule.

Details:
  • Layer: 227

  • ID: 90110467

Parameters:

users (List of InputUser) – Users to disallow

TL Schema

inputPrivacyValueDisallowUsers#90110467
users:Vector<InputUser>

= InputPrivacyRule

Parameter Tree

InputPrivacyValueDisallowUsers
└── users → Vector < InputUser >
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_id → long
│ └── access_hash → long
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_id → int
└── user_id → long

Example

InputPrivacyValueDisallowUsers(
    users=[
            await app.resolve_user(chat_id)
        ],
)