Constructor: peerNotifySettings

Back to constructors index

Notification settings.

Attributes:

Name Type Required Description
show_previews Bool Optional Display text in notifications
silent Bool Optional Mute peer?
mute_until int Optional Mute all notifications until this date
sound string Optional Audio file name for notifications

Type: PeerNotifySettings

Example:

$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string'];

Or, if you’re into Lua:

peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.