跳到主要内容

NotificationSettingsDto

Whether one kind of notification is switched on for the calling user.

NameTypeDescriptionNotes
typeNotificationTypeWhich kind of notification the flag belongs to, echoed from the request. It is published as a number: badges, room activity, the daily feed, and the tips.[optional] [enum: 0, 1, 2, 3]
isEnabledBooleanWhether the caller receives that kind of notification. It describes the caller's own account and nobody else's; a fresh account has the badges on and the other three off, because those are subscriptions that only POST api/2.0/settings/notification creates.[optional] [example: true]