account.SetReactionsNotifySettings
- class pyrogram.raw.functions.account.SetReactionsNotifySettings
Change the reaction notification settings ».
- Details:
Layer:
223ID:
316CE548
- Parameters:
settings (
ReactionsNotifySettings) – New reaction notification settings.- Returns:
TL Schema
account.setReactionsNotifySettings#316ce548
settings:ReactionsNotifySettings
= ReactionsNotifySettings
Parameter Tree
SetReactionsNotifySettings
└── settings →
ReactionsNotifySettings├── messages_notify_from →
ReactionNotificationsFrom (optional)├── stories_notify_from →
ReactionNotificationsFrom (optional)├── sound →
NotificationSound│ ├──
NotificationSoundDefault│ ├──
NotificationSoundNone│ ├──
NotificationSoundLocal│ │ ├── title →
string│ │ └── data →
string│ └── id →
long└── show_previews →
BoolExample
await app.invoke(
SetReactionsNotifySettings(
settings=ReactionsNotifySettings(
messages_notify_from=None,
stories_notify_from=None,
sound=NotificationSoundDefault(),
show_previews=True
),
)
)