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 undefinedMessage reaction notification settings, if not set completely disables notifications/updates about message reactions.
storiesNotifyFrom
: Raw.TypeReactionNotificationsFrom or undefinedStory reaction notification settings, if not set completely disables notifications/updates about reactions to stories.
sound
: Raw.TypeNotificationSoundNotification sound for reactions
showPreviews
: booleanIf 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.