Raw.ReactionsNotifySettings

Raw.ReactionsNotifySettings

Reaction notification settings, see here for more info.

reactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettings;
export namespace Raw {
  export class ReactionsNotifySettings {
    constructor(params: {
      messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
      storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
      sound: Raw.TypeNotificationSound;
      showPreviews: boolean;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x56e34970

Property

  • messagesNotifyFrom : Raw.TypeReactionNotificationsFrom or undefined

    Message reaction notification settings, if not set completely disables notifications/updates about message reactions.

  • storiesNotifyFrom : Raw.TypeReactionNotificationsFrom or undefined

    Story reaction notification settings, if not set completely disables notifications/updates about reactions to stories.

  • sound : Raw.TypeNotificationSound

    Notification sound for reactions

  • showPreviews : boolean

    If false, push notifications about message/story reactions will only be of type reactHidden/reactStoryHidden, without any information about the reacted-to story or the reaction itself.