GetPrivacy

class pyrogram.api.functions.account.GetPrivacy(key)
ID

0xdadbc950

Parameters:key – Either InputPrivacyKeyStatusTimestamp, InputPrivacyKeyChatInvite, InputPrivacyKeyPhoneCall or InputPrivacyKeyPhoneP2P
Raises:Error
Returns:account.PrivacyRules