Logo
version:

Introduction

  • Quick Start
  • Install Guide
  • Project Setup

Getting Started

  • Authorization
  • Calling Methods
  • Handling Updates
  • Error Handling

API Reference

  • Pyrogram Client
  • Available Methods
  • Available Types
  • Bound Methods
  • Update Handlers
  • Decorators
  • RPC Errors
  • Update Filters

Topic Guides

  • Using Filters
  • Creating Filters
  • More on Updates
  • Configuration File
  • Smart Plugins
  • Session Settings
  • Fast Crypto
  • Storage Engines
  • Text Formatting
  • Object Serialization
  • SOCKS5 Proxy
  • Scheduling Tasks
  • Bots Interaction
  • MTProto vs. Bot API
  • Debugging
  • Test Servers
  • Advanced Usage
  • Voice Calls

Meta

  • Pyrogram FAQ
  • Pyrogram Glossary
  • Powered by Pyrogram
  • Support Pyrogram
  • About the License
  • Release Notes

Telegram API

  • Raw Functions
  • Raw Types
Pyrogram
  • Docs »
  • Raw Types »
  • UpdatePrivacy
  • View on GitHub

UpdatePrivacy¶

class pyrogram.api.types.UpdatePrivacy¶
LAYER¶

105

ID¶

0xee3b272a

Parameters
  • key – Either PrivacyKeyStatusTimestamp, PrivacyKeyChatInvite, PrivacyKeyPhoneCall, PrivacyKeyPhoneP2P, PrivacyKeyForwards, PrivacyKeyProfilePhoto, PrivacyKeyPhoneNumber or PrivacyKeyAddedByPhone

  • rules – List of either PrivacyValueAllowContacts, PrivacyValueAllowAll, PrivacyValueAllowUsers, PrivacyValueDisallowContacts, PrivacyValueDisallowAll, PrivacyValueDisallowUsers, PrivacyValueAllowChatParticipants or PrivacyValueDisallowChatParticipants

Next Previous

Pyrogram documentation © Copyright 2017-2019, Dan

Licensed under the Creative Commons Attribution 4.0 International License

Built with Sphinx using a theme provided by Read the Docs.