PeerNotifySettings#

class pyrogram.raw.types.PeerNotifySettings#

Notification settings.

Constructor of PeerNotifySettings.

Details:
  • Layer: 158

  • ID: A83B0426

Parameters:
  • 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 32-bit, 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.

Functions:

This object can be returned by 1 function.

account.GetNotifySettings

Gets current notification settings for a given user/group, from all users/all groups.