setAllowNotifications

suspend fun setAllowNotifications(user: User, allow: Boolean)

Changes the user's notification setting to on or off.

Parameters

user

The user to search for.

allow

true to set notifications on, false otherwise.