Raw.InputPeerNotifySettings
Notification settings.
inputPeerNotifySettings#cacb6ae2 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_sound:flags.8?NotificationSound = InputPeerNotifySettings;
export namespace Raw {
export class InputPeerNotifySettings {
constructor(params: {
showPreviews?: boolean;
silent?: boolean;
muteUntil?: number;
sound?: Raw.TypeNotificationSound;
storiesMuted?: boolean;
storiesHideSender?: boolean;
storiesSound?: Raw.TypeNotificationSound;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xcacb6ae2
Property
showPreviews
: boolean or undefinedIf the text of the message shall be displayed in notification
silent
: boolean or undefinedPeer was muted?
muteUntil
: number or undefinedDate until which all notifications shall be switched off
sound
: Raw.TypeNotificationSound or undefinedIdentifier of an audio file to play for notifications.
storiesMuted
: boolean or undefinedWhether story notifications should be disabled.
storiesHideSender
: boolean or undefinedWhether the sender name should be displayed in story notifications.
storiesSound
: Raw.TypeNotificationSound or undefinedIdentifier of an audio file to play for story notifications.