Constructor: peerNotifySettings
Notification settings.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
show_previews | Bool | Optional | (Ternary value) If set, indicates whether or not to display previews of messages in notifications; otherwise the default behavior should be used. |
silent | Bool | Optional | (Ternary value) If set, indicates whether to mute or unmute the peer; otherwise the default behavior should be used. |
mute_until | int | Optional | Mute all notifications until this date |
ios_sound | NotificationSound | Optional | Notification sound for the official iOS application |
android_sound | NotificationSound | Optional | Notification sound for the official android application |
other_sound | NotificationSound | Optional | Notification sound for other applications |
stories_muted | Bool | Optional | Whether story notifications should be disabled. |
stories_hide_sender | Bool | Optional | Whether the sender name should be displayed in story notifications. |
stories_ios_sound | NotificationSound | Optional | Sound for story notifications on the official iOS application |
stories_android_sound | NotificationSound | Optional | Sound for story notifications on the official Android application |
stories_other_sound | NotificationSound | Optional | Sound for story notifications on other applications |
Type: PeerNotifySettings
Example:
$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'ios_sound' => NotificationSound, 'android_sound' => NotificationSound, 'other_sound' => NotificationSound, 'stories_muted' => Bool, 'stories_hide_sender' => Bool, 'stories_ios_sound' => NotificationSound, 'stories_android_sound' => NotificationSound, 'stories_other_sound' => NotificationSound];