Layer 227
AccountPrivacyRulesObj
Privacy rules
constructor
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
Parameters
| Name | Type | Description |
|---|---|---|
| Rules | Vector < PrivacyRule > | Privacy rules |
| Chats | Vector < Chat > | Chats to which the rules apply |
| Users | Vector < User > | Users to which the rules apply |
Returns
account.PrivacyRulesGogram Example
// Creating AccountPrivacyRulesObj constructor obj := &tg.AccountPrivacyRulesObj{ Rules: &tg.VectorPrivacyRule{}, Chats: &tg.VectorChat{}, Users: &tg.VectorUser{}, }