Gets current notification settings for a given user/group, from all users/all groups.
peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings;
---functions---
account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
Name | Type | Description |
---|---|---|
peer | InputNotifyPeer | Notification source |
Returns a PeerNotifySettings object containing current notification settings.
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid |