account.GetNotifyExceptions
- class pyrogram.raw.functions.account.GetNotifyExceptions
Returns list of chats with non-default notification settings
- Details:
Layer:
223ID:
53577479
- Parameters:
compare_sound (
bool, optional) – If set, chats with non-default sound will be returnedcompare_stories (
bool, optional) – If set, chats with non-default notification settings for stories will be returnedpeer (
InputNotifyPeer, optional) – If specified, only chats of the specified category will be returned
- Returns:
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_sound →
true (optional)├── compare_stories →
true (optional)└── peer →
InputNotifyPeer (optional)├──
InputNotifyPeer│ └── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├──
InputNotifyUsers├──
InputNotifyChats├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage└── top_msg_id →
intExample
await app.invoke(
GetNotifyExceptions(
compare_sound=None,
compare_stories=None,
peer=InputNotifyPeer(peer=await app.resolve_peer(chat_id)),
)
)