Layer 220
InputPrivacyValueAllowUsers
Allow only certain users
constructor
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
Parameters
| Name | Type | Description |
|---|---|---|
| Users | Vector<InputUser> | Allowed users |
Returns
InputPrivacyRuleGogram Example
// Creating InputPrivacyValueAllowUsers constructor obj := &tg.InputPrivacyValueAllowUsers{ Users: []tg.InputUser{&tg.InputUserSelf{}}, }