UpdatePeerSettings

class pyrogram.raw.types.UpdatePeerSettings

Settings of a certain peer have changed

Constructor of Update.

Details:
  • Layer: 223

  • ID: 6A7E7366

Parameters:

TL Schema

updatePeerSettings#6a7e7366
peer:Peer
settings:PeerSettings

= Update

Parameter Tree

UpdatePeerSettings
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── settingsPeerSettings
└── PeerSettings
├── report_spamtrue (optional)
├── add_contacttrue (optional)
├── block_contacttrue (optional)
├── share_contacttrue (optional)
├── need_contacts_exceptiontrue (optional)
├── report_geotrue (optional)
├── autoarchivedtrue (optional)
├── invite_memberstrue (optional)
├── request_chat_broadcasttrue (optional)
├── business_bot_pausedtrue (optional)
├── business_bot_can_replytrue (optional)
├── geo_distanceint (optional)
├── request_chat_titlestring (optional)
├── request_chat_dateint (optional)
├── business_bot_idlong (optional)
├── business_bot_manage_urlstring (optional)
├── charge_paid_message_starslong (optional)
├── registration_monthstring (optional)
├── phone_countrystring (optional)
├── name_change_dateint (optional)
└── photo_change_dateint (optional)

Example

UpdatePeerSettings(
    peer=PeerUser(user_id=0),
    settings=PeerSettings(),
)