account.SetReactionsNotifySettings

class pyrogram.raw.functions.account.SetReactionsNotifySettings

Change the reaction notification settings ».

Details:
  • Layer: 227

  • ID: 316CE548

Parameters:

settings (ReactionsNotifySettings) – New reaction notification settings.

Returns:

ReactionsNotifySettings

TL Schema

account.setReactionsNotifySettings#316ce548
settings:ReactionsNotifySettings

= ReactionsNotifySettings

Parameter Tree

SetReactionsNotifySettings
└── settings → ReactionsNotifySettings
├── messages_notify_from → ReactionNotificationsFrom (optional)
├── stories_notify_from → ReactionNotificationsFrom (optional)
├── poll_votes_notify_from → ReactionNotificationsFrom (optional)
├── sound → NotificationSound
│ ├── NotificationSoundNone
│ │ ├── title → string
│ │ └── data → string
│ └── id → long
└── show_previews → Bool

Example

await app.invoke(
    SetReactionsNotifySettings(
        settings=ReactionsNotifySettings(
            messages_notify_from=None,
            stories_notify_from=None,
            poll_votes_notify_from=None,
            sound=NotificationSoundDefault(),
            show_previews=True
        ),
    )
)