PeerNotifySettings

class pyrogram.raw.types.PeerNotifySettings

Notification settings.

Constructor type of PeerNotifySettings.

Details
  • Layer: 126

  • ID: 0xaf509d20

Parameters
  • show_previews (bool, optional) – Display text in notifications.

  • silent (bool, optional) – Mute peer?.

  • mute_until (int 32-bit, optional) – Mute all notifications until this date.

  • sound (str, optional) – Audio file name for notifications.

Methods

This object can be returned by 1 method:

account.GetNotifySettings

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