# NOTIFICATIONFLAGS

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NOTIFICATIONFLAGS/

Notification flags (bitfields).

- **Full name:** `MFiles.NOTIFICATIONFLAGS`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-all"></a>`all` | `bool` | 1 | Specifies all flags set; Including any future flags. |
| <a id="f-is_enabled"></a>`is_enabled` | `bool` | 2 | Notifications enabled. |
| <a id="f-send_digest"></a>`send_digest` | `bool` | 3 | Combine the day's notifications into a single message. |
| <a id="f-exclude_self_triggered"></a>`exclude_self_triggered` | `bool` | 4 | Exclude notifications of events caused by me. |
| <a id="f-recurring"></a>`recurring` | `bool` | 5 | Notifications are recurring (not only appear once per a matching object). |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCEvents.GetNotificationConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/GetNotificationConfiguration/index.md): Tells whether the caller has notifications turned on.
- [IRPCEvents.SetNotificationConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/SetNotificationConfiguration/index.md): Turns notifications on or off for the caller.

<a id="used-in-fields"></a>

## Used in fields

- [`NotificationRule.options`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NotificationRule/index.md#f-options): `is_enabled` turns the rule on, `send_digest` combines the day's notifications into one message, `exclude_self_triggered` leaves out events caused by the user, and `recurring` (filter-based rules only) repeats the notification for object...
- [`SetNotificationConfigurationRequest.flags`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/SetNotificationConfiguration/index.md#request): Set `is_enabled` to true to receive notifications, or leave all flags unset to stop them.
- [`GetNotificationConfigurationResponse.pflags`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/GetNotificationConfiguration/index.md#response): The caller's notification switch. `is_enabled` is true when the caller receives notifications.
