848 B
848 B
title | description |
---|---|
updatePrivacy | Some privacy settings has changed |
Constructor: updatePrivacy
Some privacy settings has changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
key | PrivacyKey | Yes | Privacy key |
rules | privacyRules | Yes | New privacy rules |
Type: Update
Example:
$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => privacyRules];
PWRTelegram json-encoded version:
{"_": "updatePrivacy", "key": PrivacyKey, "rules": privacyRules}
Or, if you're into Lua:
updatePrivacy={_='updatePrivacy', key=PrivacyKey, rules=privacyRules}