peerNotifySettings
Signature
Section titled “Signature”peerNotifySettings#99622c0c flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int ios_sound:flags.3?NotificationSound android_sound:flags.4?NotificationSound other_sound:flags.5?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_ios_sound:flags.8?NotificationSound stories_android_sound:flags.9?NotificationSound stories_other_sound:flags.10?NotificationSound = PeerNotifySettings;Result type
Section titled “Result type”PeerNotifySettings
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| show_previews | flags.0?Bool | flags.0 | — | |
| silent | flags.1?Bool | flags.1 | — | |
| mute_until | flags.2?int | flags.2 | — | |
| ios_sound | flags.3?NotificationSound | flags.3 | — | |
| android_sound | flags.4?NotificationSound | flags.4 | — | |
| other_sound | flags.5?NotificationSound | flags.5 | — | |
| stories_muted | flags.6?Bool | flags.6 | — | |
| stories_hide_sender | flags.7?Bool | flags.7 | — | |
| stories_ios_sound | flags.8?NotificationSound | flags.8 | — | |
| stories_android_sound | flags.9?NotificationSound | flags.9 | — | |
| stories_other_sound | flags.10?NotificationSound | flags.10 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| show_previews | 0 | Controlled by flags; present when this bit is set. |
| silent | 1 | Controlled by flags; present when this bit is set. |
| mute_until | 2 | Controlled by flags; present when this bit is set. |
| ios_sound | 3 | Controlled by flags; present when this bit is set. |
| android_sound | 4 | Controlled by flags; present when this bit is set. |
| other_sound | 5 | Controlled by flags; present when this bit is set. |
| stories_muted | 6 | Controlled by flags; present when this bit is set. |
| stories_hide_sender | 7 | Controlled by flags; present when this bit is set. |
| stories_ios_sound | 8 | Controlled by flags; present when this bit is set. |
| stories_android_sound | 9 | Controlled by flags; present when this bit is set. |
| stories_other_sound | 10 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PeerNotifySettingsPublic access: miniproto.raw.types.PeerNotifySettings.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
PeerNotifySettings - Accepted by:
channelFull,chatFull,communityFull,dialog,dialogCommunity,forumTopic,updateNotifySettings,userFull - Returned by:
account.getNotifySettings