Link Search Menu Expand Document

Constructor: reactionsNotifySettings

Back to constructors index

Reaction notification settings, see here » for more info.

Attributes:

NameTypeRequiredDescription
messages_notify_fromReactionNotificationsFromOptionalMessage reaction notification settings, if not set completely disables notifications/updates about message reactions.
stories_notify_fromReactionNotificationsFromOptionalStory reaction notification settings, if not set completely disables notifications/updates about reactions to stories.
soundNotificationSoundYesNotification sound for reactions »
show_previewsBoolYesIf 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];