Constructor: reactionsNotifySettings
Reaction notification settings, see here » for more info.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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. |
sound | NotificationSound | Yes | Notification sound for reactions » |
show_previews | Bool | Yes | 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. |
Type: ReactionsNotifySettings
Example:
$reactionsNotifySettings = ['_' => 'reactionsNotifySettings', 'messages_notify_from' => ReactionNotificationsFrom, 'stories_notify_from' => ReactionNotificationsFrom, 'sound' => NotificationSound, 'show_previews' => Bool];