ReactionsNotifySettings
- class pyrogram.raw.types.ReactionsNotifySettings
Reaction notification settings, see here » for more info.
Constructor of
ReactionsNotifySettings.- Details:
Layer:
223ID:
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.
Get the current reaction notification settings ».
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
ReactionNotificationsFrom (optional)ReactionNotificationsFrom (optional)NotificationSoundNotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringlongBoolExample
ReactionsNotifySettings(
sound=NotificationSoundDefault(),
show_previews=True,
)