Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions content/en/entities/NotificationPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ aliases: [
**Version history:**\
4.3.0 - added

### `for_bots` {#for_bots}

**Description:** Whether to `accept`, `filter` or `drop` notifications from accounts marked as automated. `drop` will prevent creation of the notification object altogether (without preventing the underlying activity), `filter` will cause it to be marked as filtered, and `accept` will not affect its processing.\
**Type:** String (one of `accept`, `filter` or `drop`)\
**Version history:**\
4.6.0 - added

### `summary` {#summary}

**Description:** Summary of the filtered notifications\
Expand Down Expand Up @@ -77,6 +84,7 @@ aliases: [
"for_new_accounts": "accept",
"for_private_mentions": "drop",
"for_limited_accounts": "filter",
"for_bots": "accept",
"summary": {
"pending_requests_count": 0,
"pending_notifications_count": 0
Expand Down
4 changes: 4 additions & 0 deletions content/en/methods/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ The response body contains the current notifications filtering policy for the us
"for_new_accounts": "accept",
"for_private_mentions": "drop",
"for_limited_accounts": "filter",
"for_bots": "accept",
"summary": {
"pending_requests_count": 0,
"pending_notifications_count": 0
Expand Down Expand Up @@ -542,6 +543,9 @@ for_private_mentions
for_limited_accounts
: String. Whether to `accept`, `filter` or `drop` notifications from accounts that were limited by a moderator. `drop` will prevent creation of the notification object altogether (without preventing the underlying activity), `filter` will cause it to be marked as filtered, and `accept` will not affect its processing.

for_bots
: String. Whether to `accept`, `filter` or `drop` notifications from accounts that were marked as automated. `drop` will prevent creation of the notification object altogether (without preventing the underlying activity), `filter` will cause it to be marked as filtered, and `accept` will not affect its processing.


#### Response

Expand Down