UpdateNotifySettings

class pyrogram.raw.types.UpdateNotifySettings

Changes in notification settings.

Constructor of Update.

Details:
  • Layer: 223

  • ID: BEC268EF

Parameters:

TL Schema

updateNotifySettings#bec268ef
peer:NotifyPeer
notify_settings:PeerNotifySettings

= Update

Parameter Tree

UpdateNotifySettings
├── peerNotifyPeer
│ ├── NotifyPeer
│ │ └── peerPeer
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── NotifyUsers
│ ├── NotifyChats
│ ├── NotifyBroadcasts
│ └── NotifyForumTopic
│ ├── peerPeer
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ └── top_msg_idint
└── notify_settingsPeerNotifySettings
├── show_previewsBool (optional)
├── silentBool (optional)
├── mute_untilint (optional)
├── ios_soundNotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
├── android_soundNotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
├── other_soundNotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
├── stories_mutedBool (optional)
├── stories_hide_senderBool (optional)
├── stories_ios_soundNotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
├── stories_android_soundNotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
└── stories_other_soundNotificationSound (optional)
│ ├── titlestring
│ └── datastring
└── idlong

Example

UpdateNotifySettings(
    peer=NotifyPeer(peer=PeerUser(user_id=0)),
    notify_settings=PeerNotifySettings(),
)