ReactionsNotifySettings#

class pyrogram.raw.types.ReactionsNotifySettings#

Reaction notification settings, see here » for more info.

Constructor of ReactionsNotifySettings.

Details:
  • Layer: 187

  • ID: 56E34970

Parameters:
  • sound (NotificationSound) – Notification sound for reactions »

  • show_previews (bool) – If false, push notifications » about message/story reactions will only be of type REACT_HIDDEN/REACT_STORY_HIDDEN, without any information about the reacted-to story or the reaction itself.

  • messages_notify_from (ReactionNotificationsFrom, optional) – Message reaction notification settings, if not set completely disables notifications/updates about message reactions.

  • stories_notify_from (ReactionNotificationsFrom, optional) – Story reaction notification settings, if not set completely disables notifications/updates about reactions to stories.

Functions:

This object can be returned by 2 functions.

account.GetReactionsNotifySettings

Get the current reaction notification settings ».

account.SetReactionsNotifySettings

Change the reaction notification settings ».