Layer 227
constructor
reactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettings;

Parameters

Name Type Description
MessagesNotifyFrom flags .0? ReactionNotificationsFrom Message reaction notification settings, if not set completely disables notifications/updates about message reactions.
StoriesNotifyFrom flags .1? ReactionNotificationsFrom Story reaction notification settings, if not set completely disables notifications/updates about reactions to stories.
PollVotesNotifyFrom flags .2? ReactionNotificationsFrom Non-anonymous poll vote notification settings, if not set completely disables notifications/updates about votes cast in the user's non-anonymous polls.
Sound NotificationSound Notification sound for reactions
ShowPreviews 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.

Gogram Example

// Creating ReactionsNotifySettingsObj constructor
obj := &tg.ReactionsNotifySettingsObj{
    MessagesNotifyFrom: nil,
    StoriesNotifyFrom: nil,
    PollVotesNotifyFrom: nil,
    Sound: &tg.NotificationSound{},
    ShowPreviews: true,
}