GetPrivacy

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

0xdadbc950

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