Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InputPeerNotifySettings_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputPeerNotifySettings_
import { InputPeerNotifySettings_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Notification settings.

Constructors

new
InputPeerNotifySettings_(params?: { show_previews?: boolean; silent?: boolean; mute_until?: number; sound?: enums.NotificationSound; stories_muted?: boolean; stories_hide_sender?: boolean; stories_sound?: enums.NotificationSound; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
mute_until: number

Date until which all notifications shall be switched off

optional
show_previews: boolean

If the text of the message shall be displayed in notification

optional
silent: boolean

Peer was muted?

optional
sound: enums.NotificationSound

Identifier of an audio file to play for notifications.

optional
stories_hide_sender: boolean

Whether the sender name should be displayed in story notifications.

optional
stories_muted: boolean

Whether story notifications should be disabled.

optional
stories_sound: enums.NotificationSound

Identifier of an audio file to play for story notifications.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc