account.GetNotifySettings
- class pyrogram.raw.functions.account.GetNotifySettings
Gets current notification settings for a given user/group, from all users/all groups.
- Details:
Layer:
223ID:
12B3AD31
- Parameters:
peer (
InputNotifyPeer) – Notification source- Returns:
TL Schema
account.getNotifySettings#12b3ad31
peer:InputNotifyPeer
= PeerNotifySettings
Parameter Tree
GetNotifySettings
└── peer →
InputNotifyPeer├──
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(
GetNotifySettings(
peer=InputNotifyPeer(peer=await app.resolve_peer(chat_id)),
)
)