ReactionsNotifySettings

class pyrogram.raw.base.ReactionsNotifySettings

Reaction notification settings, see here » for more info.

Constructors:

This base type has 1 constructor available.

ReactionsNotifySettings

Reaction notification settings, see here » for more info.

Functions:

This object can be returned by 2 functions.

account.GetReactionsNotifySettings

Get the current reaction notification settings ».

account.SetReactionsNotifySettings

Change the reaction notification settings ».

TL Schema

reactionsNotifySettings#56e34970
flags:#
messages_notify_from:flags.0?ReactionNotificationsFrom
stories_notify_from:flags.1?ReactionNotificationsFrom
sound:NotificationSound
show_previews:Bool

= ReactionsNotifySettings

Parameter Tree

ReactionsNotifySettings
├── messages_notify_fromReactionNotificationsFrom (optional)
├── stories_notify_fromReactionNotificationsFrom (optional)
├── soundNotificationSound
│ ├── NotificationSoundNone
│ │ ├── titlestring
│ │ └── datastring
│ └── idlong
└── show_previewsBool

Example

ReactionsNotifySettings(
    messages_notify_from=ReactionNotificationsFromContacts(),
    stories_notify_from=ReactionNotificationsFromContacts(),
    sound=NotificationSoundDefault(),
    show_previews=True,
)