account.GetNotifyExceptions

class pyrogram.raw.functions.account.GetNotifyExceptions

Returns list of chats with non-default notification settings

Details:
  • Layer: 223

  • ID: 53577479

Parameters:
  • compare_sound (bool, optional) – If set, chats with non-default sound will be returned

  • compare_stories (bool, optional) – If set, chats with non-default notification settings for stories will be returned

  • peer (InputNotifyPeer, optional) – If specified, only chats of the specified category will be returned

Returns:

Updates

TL Schema

account.getNotifyExceptions#53577479
flags:#
compare_sound:flags.1?true
compare_stories:flags.2?true
peer:flags.0?InputNotifyPeer

= Updates

Parameter Tree

GetNotifyExceptions
├── compare_soundtrue (optional)
├── compare_storiestrue (optional)
└── peerInputNotifyPeer (optional)
├── InputNotifyPeer
│ └── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
└── top_msg_idint

Example

await app.invoke(
    GetNotifyExceptions(
        compare_sound=None,
        compare_stories=None,
        peer=InputNotifyPeer(peer=await app.resolve_peer(chat_id)),
    )
)