InputPeerNotifySettings

class pyrogram.raw.types.InputPeerNotifySettings

Notification settings.

Constructor of InputPeerNotifySettings.

Details:
  • Layer: 187

  • ID: CACB6AE2

Parameters:
  • show_previews (bool, optional) – If the text of the message shall be displayed in notification

  • silent (bool, optional) – Peer was muted?

  • mute_until (int 32-bit, optional) – Date until which all notifications shall be switched off

  • sound (NotificationSound, optional) – Identifier of an audio file to play for notifications.

  • 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_sound (NotificationSound, optional) – Identifier of an audio file to play for story notifications.